Question: stringchar.cpp stringchar.cpp 2 // This program demonstrates the use of cin, characters, and strings 3 4 5 #include // for cin, cout 6 #include 11

stringchar.cpp  stringchar.cpp stringchar.cpp 2 // This program demonstrates the use of cin,
characters, and strings 3 4 5 #include // for cin, cout 6
#include 11 for string 7 using namespace std; 8 9 10 int

stringchar.cpp 2 // This program demonstrates the use of cin, characters, and strings 3 4 5 #include // for cin, cout 6 #include 11 for string 7 using namespace std; 8 9 10 int main() 11 { 12 int dayOfMonth; 13 int year: 14 // Fill in the code to the variable define dayOfWeek as a 15 // Fill in the code to the variable define month as a string cout > month; 11 Fill in the code to read dayOfMonth 11 with the message "Enter the day of the month: 22 23 11 Fill in the code to read year 11 with the message "Enter the year: " character 16 17 18 19 20 21 24 25 26 11 Fill in the code to read the dayOfWeek months MacBook Air go 000 000 F3 DI F4 F5 F6 FB # $ % int dayOfMonth; int year: 1/ Fill in the code to the variable define as a character 1/ Fill in the code to the variable define as a string Singhapp 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 ? 38 39 cout > month; Il Fill in the code to read // with the message "Enter the day of the month: Il Fill in the code to read 1/ with the message "Enter the year: 11 Fill in the code to read the Il with the message "Enter a letter of the day of the week (H for Thursday & U for Sunday): " 1/ Fill in code to output the date using the format in the exafple below // example: July 4, 1776 // Fill in code to output the dayofWeek using the format shown 11 example: The day code is return : nel) 9 10 int main() 11 12 int dayOfMonth; 13 int year: 14 1/ Fill in the code to the variable define dayOfWeek as a character 15 // Fill in the code to the variable define month as a string 16 cout > month; 17 18 19 20 21 22 23 24 25 26 27 11 Fill in the code to read dayOfMonth // with the message "Enter the day of the month: Il Fill in the code to read year 1/ with the message "Enter the year: 28 29 30 31 32 22 11 Fill in the code to read the dayOfWeek // with the message "Enter a letter of the day of the week (H for Thursday 6 U for Sunday): " // Fill in code to output the date using the format in the example below Il example: July 4, 1776 1/ Fill in code to output the dayOfWeek using the format shown avanlar Tha dorada de M

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sure Heres a stepbystep guide to complete the code in stringcharcpp Step 1 Define Variables Define d... View full answer

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!