Question: C++ Submit Instructions Tests Write an program which ask the user to type a positive integer until the user types an even number. Once a

 C++ Submit Instructions Tests Write an program which ask the user

C++

Submit Instructions Tests Write an program which ask the user to type a positive integer until the user types an even number. Once a user types a even number, print the even number. Sample output1: Type a positive integer n: 5 Type a positive integer n: 9 Type a positive integer n: 1 Type a positive integer n: 35 Type a positive integer ni 45 Type a positive integer n: 4 4 Sample output2 Type a positive integer n: 3 Type a positive integer n: 8 8 Submit file name: evensentinel.cpp Due: T109 pm on Mar TOEST bileleration interal logarith A You haven't uploadedany code vet Submit Instructions Tests Write an program which ask the user to type a positive integer until the user types an even number. Once a user types a even number, print the even number. Sample output1: Type a positive integer n: 5 Type a positive integer n: 9 Type a positive integer n: 1 Type a positive integer n: 35 Type a positive integer ni 45 Type a positive integer n: 4 4 Sample output2 Type a positive integer n: 3 Type a positive integer n: 8 8 Submit file name: evensentinel.cpp Due: T109 pm on Mar TOEST bileleration interal logarith A You haven't uploadedany code vet

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!