Write a C++ program that asks for two lowercase characters. Pass the two entered
ID: 3655494 • Letter: W
Question
Explanation / Answer
#include //io headerfile using namespace std; void capit(char *letter){ //void fxn takes char pointer if((*letter>='a')&& (*letter>ch2; //read in two characters CH1=&ch1; //assign CH1 to point to address of ch1 CH2=&ch2; //assign CH2 to point to address of ch2 capit(CH1); //call capit with CH1 capit(CH2); //call capit with CH2 coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.