1.How will you design the website?Which platform will you use?What colors will you use?What font?
2. Will you include background music? In what format will you upload them?
3. Will you include videos? What kind of videos? What is eating software will you use?
4. Will you include photos? In what format will you upload them? Do you need to edit the photos?
5.what kind of content would encourage or motivate you to participate in a call to action?
Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 as 3 4 5 6, output the individual digits of 8030 as 8 0 3 0, output the individual digits of 2345526 as 2 3 4 5 5 2 6, output the individual digits of 4000 as 4 0 0 0, and output the individual digits of -2345 as 2 3 4 5.
Suppose the Road Transport Department (JPJ) intends to introduce a new compound system for speeding offenses on highways throughout Malaysia. JPJ hires your company to create a program to calculate and display the amount of compound that the driver has to pay. The program should ask the user to enter the speed limit and the speed of the vehicle in km/h units. If the speed does not exceed the speed limit, the program should display the message ‘innocent driver’.
The amount of the fine is calculated using the following method:
The basic fine is RM100. If the speed of the vehicle exceeds the speed limit of 20km/h or more, the total fine is the basic fine plus RM10 for each km/h that exceeds the speed limit. If the speed of the vehicle exceeds the speed limit, but the difference is less than 20km/h, the total fine is the basic fine plus RM5 for each km/h that exceeds the speed limit. The maximum fine is RM500.
Right Angled Triangle -3
Given an integer number N as input. Write a program to print the right - angled triangular pattern of N rows as shown below.
Input
The first line of input is a postive integer .
Explanation
For example the given number is 5 .
the output should be
______
| /
| /
| /
| /
|/
Use bubble sort to sort following elements: 42, 78, 12, 32, 7, 54, 22, 3
Miss Ural wants to buy colors for Holi, and that too, at the cheapest cost!
There are N shops selling colors near Ural's house, where the i′th shop sells colors at rate of Ri for one unit. Also, i′th shop is located at a distance of Di kilometers from her house. Life was simple, but then petrol and fuel prices soared up. The current price of petrol to travel one kilometer is K
Find the minimum cost at which Miss Ural can buy one unit of color. she does not need to return back home.
For test case, output minimum cost to purchase 1 unit of color.
You are given an array of N non-negative integers: A1, A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1, Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.
Input
The first line of the input contains an integer T denoting the number of test cases.
The first line of each test case contains an integer N denoting the number of elements in the array.
The second line contains N space-separated integers A1, A2, ..., AN denoting the array A.
Output
For each test case, output a single line containing the answer.
Note
A subsequence with only a single integer is also an alternating subsequence.
Constraints
1 ≤ T ≤ 10
1 ≤ N ≤ 105
0 ≤ Ai ≤ 105
Question: Peter runs a vehicle rental center. The vehicles are of three types; MICRO, MINI and SUV. The customer who travels in MICRO will pay Rs 15 per kilometer. The customer who travels in MINI will pay Rs 20 per kilometer and the customer whe travel in SUV will pay Rs 25 per kilometer. Write a Program in java to compute the cost of travelling by the customer with following requirements. a) The distance travelled by customer needs to be taken as input. b) The type of vehicle to be taken as input (M for Micro, m for mini, S for SUV). c) Check the type of vehicle and compute the final cost of the travel depending on the vehicle. d) Display the final cost with an appropriate message
JAVA FX BASED POKER TASK
Please show the output also
See apps.game.Cards for starter code representing a deck of playing cards.
5 Card Draw Poker has many rules, but to make it simple to implement we will only use some of these rules. Any student who wants to implement more is welcome, but remember that the following rules must be implemented.
Values for the Cards
The cards with two to nine showing are taken at face value
medium(size >= 768px), large (size >= 992px) and extra llarge(size > 1200px)
image names:
#slack NETFLIX fitbit google airbnb uber