Showing posts with the label if-else programsShow all

9) Write a program to determine whether the character entered is a upper case letter, a small case letter, a digit or a special symbol.

When a character is entered through the keyboard , write a program to determine whether the character entered is a upper case letter, a small case letter, a digit or a special symbol. ASCII values for various characters. i) A-Z   65-90 ii) a-z  97-122  i ii) 0-9  48-57     iv) special symbol 0-47, 58-64, 91-…

Read more

11) The marks obtained by a student in 5 different subjects are input through the keyboard. Write a program to finds grade obtained by a Student.

program statement: The  marks obtained by a student in 5 different subjects are input  through the keyboard. The student gets a division or grade as per the following rules: marks obtained by a student in 5 different subjects are input  through the keyboard. The student gets a division or grade as per the following ru…

Read more