Questions: 9 913

Answers by our Experts: 9 913

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

Continuously ask for floating point values (decimal numbers) using the do…while() loop, sum them all up, and store the total into one variable.



The loop shall only terminate for the following reasons:



A negative decimal number is inputted (but still included in the total sum)



The total sum reaches 100.0 or more

Using a do…while() loop, continuously scan for characters (one per line) and print it out afterwards.



The loop shall terminate due to either of the following reasons:



The inputted character is a vowel



The number of inputted characters has already reached 5.

Using a do...while() loop, continuously scan for random integers that will be inputted by the user and print out its square, separated in each line.


Once the inputted value is 0, it will still print out its square value but should then terminate the loop afterwards. Use this concept in making your loop condition.

Write a program to ask the user to input a value responding a score on a test. The value should be between 0 and 100 inclusive. Using the IF control structure to output a message containing the letter grade corresponding to the score using the following table.


Score                                    Letter grade

0-40                                      F

41-55                                    D

56-70                                    C

71-85                                    B

86-100                                  A


Write a program to ask the user to input a value representing a score on a test. The value entered should be between 0 and 100. Use a IF control structure to output a message containing the letter grade corresponding to the score using the following table. Include pseudocode and flowchart

Score Letter grade

0-40 F

41-55 D

56-70 C

71-85 B 

86-100 A



Write a program in C++ using repetition structures to print the following pattern. You are not



allowed to use nested loops.



****



***-



**--



*---



By using do while loop

Write a program that enter a number from user and display its factorial. e.g. factorial of 5 is


1 X 2 X 3 X 4 X 5=120. Where is N<=10. by using do while loop

Write a program that asks the user to type 10 integers. The program must compute how many even and


odd numbers were entered along with number that are divisible by 7. By using do while loop

write a program that enter number from user and display its factorial.e.g. factorial of 5 is 1×2×3×4×5=120. Where N<=10

Write a program in C++ that ask the user to type 10 integers. The program must compute how many even and odd numbers were entered along with number that are divisible by 7.

LATEST TUTORIALS
APPROVED BY CLIENTS