- Write aprogram to find the largest number between two number using ternary operator.
- Write aprogram, which take two values and print their sum.
- Program which take two values, and print their Multiplication.
- Write aprogram which take two values and print their sum of their square.
- Write aprogram which take three values and print Max. Value (using ternary operator).
- Write a program to convert kilogram into grams.
- Write aprogram to convert inches into centimeters.
- Write aprogram that accept basic salary of employee and compute the bonus @20 % ofbasic. Print Bonus and gross salary too.
- Write a program which accept length and breadth of a rectangle and print the Area and perimeter of it.
- Write aprogram which accept the arm of triangle and print the Area and perimeter of it.
- Write a program to read following numbers from yourkeyboards, round them to their nearest integer and print the result in integerformat. 37.7 50.123 -25.5649 -56.8877 123.0
- Write a Program that accept sale price and cost priceand find the profit and loss.
- Write a program to accept a four digit number and print the sum of first and last digit and product of mid digits.
- Write a program to accept the time in 24 hour formatand print message according to time like (good morning, good afternoon, goodevening, good night).
- Write a program to accept a number <10 print its inword eg. 1 to one , 2 to two.
- Write a program to accept a character and covert it upper case to lower case and lower to upper.
- Write a program to accept a character from user and process it like this.
B) if it is not alphabets then print thatcharacter as is…