Question: please answer all the questions and give me the solution in c++ program 1. Write a program that displays every integer value from 1 to

please answer all the questions and give me the solution in c++ program
1. Write a program that displays every integer value from 1 to 20 along with its squared value. 2. Write a program which asks the user to enter number of days. Subsequently, the user can either select any of the following options: a. Press 1 for converting the number of days into hours b. Press 2 for converting the number of days into minutes Based on the option entered by user, your program should calculate and display the results accordingly. 3. Write a program that asks the user to enter 5 integers. The program must compute how many even and odd numbers were entered. 4. Write a program that take number of hours at input and then calculates salary for the employees. There are two types of employee's: 1) permanent and 2) daily wagers. The daily wagers are paid 400/hour while permanent employees are paid 800/hour. First ask the user for hours and then ask for employee type for calculating salary. After calculating for one employee it should ask the user for continuation until user do not enter - 1. 5. Write a program that ask the user to enter a value and check whether it is prime or not. The program should compute the result until user do not enter-1. 6. Check if an input 3-digit integer is a palindrome or not. (Palindrome is a sequence of digits that reads the same backwards as forwards, e.g. 121, 343, 454)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
