Menu

[Solved]Write C Programs Following O Loop Enter String Grades Abcdffaacc S Xx B S Xx C S Xx D Q37209686

Write C++ programs with thefollowing I/O

  1. (while-loop) Enter a string of grades: ABcdffaACc

No. ofA’s………………………… xx

No. ofB’s………………………… xx

No. ofC’s…………………………. xx

No. ofD’s………………………… xx

No. ofF’s……………………………xx

  1. (while loop)

Enter a group of scores with -1 at theend: 88 55 77 99 22 1 44 -1 Average = xx.xx

Maximum =99

Minimum = 1

  1. (for-loop)

This is a temperature conversion table( C=5(F-32)/9 )

Enter the table size (start, end,next): 100 140 5

F°               C°

100 xx.xx
105 xx.xx

…………………

140 xx.xx

4. (do-while)

——– PracticeArithmetic————–

  1. Addition
  2. Subtraction

Enter your choice(1/2): 1
22 + 33 = ? 55

CORRECT

Continue(y/n)? y

11 + 10 = ? 21

CORRECT

Continue(y/n)? y

22 + 45 = ? 70

WRONG

Continue(y/n)? n

No. of CORRECTanswers = 2

No. of WRONGanswers =1

5. (while-loop and for-loop)

Enter a group of genders:mmmFFMMfff

No. of MALES = * * * * *

No. of FEMALES= * * * * *

Write programs with the following I/O (while-loop) Enter a string of 1. grades: ABcdffaACc No. of As No. of Bs No. of CS N4. (do-while) Practice Arithmetic 1. Addition 2. Subtraction Enter your sbaicel1/2): 1 22 33? 55 CORRECT Continue(y/n)? y 11

Write programs with the following I/O (while-loop) Enter a string of 1. grades: ABcdffaACc No. of A’s No. of B’s No. of C’S No. of D’s Xx 2. (while loop) Enter a group of scores with -1 at the end: 88 55 77 99 22 1 44-1 Average xx.xx Maximum -99 Minimum-1 3. (for-loop) This is a temperature conversion table C-5 (F-32)/9) Enter the table size (start, end, next): 100 140 5 100 xx.xx 105 xx.xx 4. (do-while) Practice Arithmetic 1. Addition 2. Subtraction Enter your sbaicel1/2): 1 22 33? 55 CORRECT Continue(y/n)? y 11 + 103.21 CORRECT Continue(y/n)?y 22 + 45 270 WRONG Continue(y/n)? D No. of CORRECT answers 2 No. of WRONG answers =1 5. (whilelooR and for-loop) Enter a group of genders:mmmFFMMff No. of MALES * No. of FEMALES- * Show transcribed image text Write programs with the following I/O (while-loop) Enter a string of 1. grades: ABcdffaACc No. of A’s No. of B’s No. of C’S No. of D’s Xx 2. (while loop) Enter a group of scores with -1 at the end: 88 55 77 99 22 1 44-1 Average xx.xx Maximum -99 Minimum-1 3. (for-loop) This is a temperature conversion table C-5 (F-32)/9) Enter the table size (start, end, next): 100 140 5 100 xx.xx 105 xx.xx
4. (do-while) Practice Arithmetic 1. Addition 2. Subtraction Enter your sbaicel1/2): 1 22 33? 55 CORRECT Continue(y/n)? y 11 + 103.21 CORRECT Continue(y/n)?y 22 + 45 270 WRONG Continue(y/n)? D No. of CORRECT answers 2 No. of WRONG answers =1 5. (whilelooR and for-loop) Enter a group of genders:mmmFFMMff No. of MALES * No. of FEMALES- *

Expert Answer


Answer to Write C++ programs with the following I/O (while-loop) Enter a string of grades: ABcdffaACc No. of A’s………………. . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *