Computers and Technology

1 #include 2 using namespace std;
3 int main ()
4
5 {
6 char name[20];
7 cout << "Enter a Name: ";
8 fgets(name, 20, stdin);
9 for (int i=0; name[i] !='\0'; i++);
10 {
11 name[i] = toupper(name[i]);
12 }
13 cout << "name in uppercase is: 14 "<< name;
15 return 0;
16 }

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, torresnoemi899
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
image
Computers and Technology, 24.06.2019 15:00, MilanPatel
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
image
Computers and Technology, 25.06.2019 06:00, xxaizuwu
Me on this app how do you take a picture of your work
Answers: 1
Do you know the correct answer?
1 #include 2 using namespace std;
3 int main ()
4
5 {
6 char name[20];

Questions in other subjects:

Konu
Mathematics, 26.04.2021 19:30
Konu
Mathematics, 26.04.2021 19:30