1- Write a C++ program to ask the user to enter their first and last name and save them in a string. 2- Write a C++ program to ask the user to enter five integer numbers and the program should print...


1- Write a C++ program to ask the user to enter their first and last name and save<br>them in a string.<br>2- Write a C++ program to ask the user to enter five integer numbers and the program<br>should print even if the number is even or odd if the number is odd.<br>3- Repeat Question 2 to print even if the number is even and greater than 10 and print<br>odd if the number is odd and negative. Use while instead of for or (for instead of<br>while if you used while in Question 2).<br>4- What is the difference between prefix and postfix of -- and ++ operator?<br>

Extracted text: 1- Write a C++ program to ask the user to enter their first and last name and save them in a string. 2- Write a C++ program to ask the user to enter five integer numbers and the program should print even if the number is even or odd if the number is odd. 3- Repeat Question 2 to print even if the number is even and greater than 10 and print odd if the number is odd and negative. Use while instead of for or (for instead of while if you used while in Question 2). 4- What is the difference between prefix and postfix of -- and ++ operator?

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here