Questions: 1 978

Answers by our Experts: 1 850

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program that takes three integers, and prints out the smallest number


Write a program that print the relation between two integer number if those numbers are equal, not equal and which one contain the higher value.


Write a program to print the ASCII value of a character input by the user.


Write a program that reads the radius of a circle and calculates the area and circumference then prints the results.


Write a program for converting temperature from degrees Celsius to degrees Fahrenheit, given the formula:

F = C x 95 + 32


Write a program that print your name and your grade in a new line.


Write a program that take two integers from the user and print the results of this equation:

Result = ((num1 + num2) * 3) – 10


Write a program that print the relation between two integer number if those numbers are equal, not equal and which one contain the higher value.


You are given an electricity project for the calculation of amount for the consumed electricity units for every one month.

1) For the electricity units (0-200) is 50 paisa per units.

2) For the electricity units (201-400) is 65 paisa per unit. For the first 0-200 consumed units charge is 100 rupees, if the consumer consumed greater than 200 and less than or equal to 400 unit, then for each unit charge is 65 paisa.

3)For the electricity units (401-600) is 80 paisa per unit. For the first 0-400 consumed units charge is 230 rupees, if the consumer consumed greater than 400 unit and less than or equal to 600, then for each unit charge is 80 paisa.

4)For the electricity units above 600, the price for each unit is 80 paisa. For the first 0-600 units charge is 390 rupees, if the consumer consumed greater than 600 unit, then for each unit charge 1.50 paisa.

Case= Test 1

input=

123

100

output=

Electricity Amount to be paid is:50.00

Case= Test 2

input=

124

300

output=

Electricity Amount to be paid is:165.00


You are given a binary compass which shows the direction you are safe to go to.


The binary compass read n binary digits (bits) which interprets 1 to rotate 90o


to


the left and 0 rotate 90o


to the right. Initially you are facing North. Create a program


for this binary compass.



Sample Output 1:


Enter your name: Glenn G. Noynay


Hi! Glenn G. Noynay


Enter number of bits: 7


Enter 7 binaries: 0 0 0 0 0 0 0


Direction: Go West, Glenn G. Noynay!



Sample Output 2:


Enter your name: Rogelio P. Noynay


Hi! Rogelio P. Noynay


Enter number of bits: 5


Enter 5 binaries: 1 1 1 0 1


Direction: Go East, Rogelio P. Noynay!

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS