subject

Write a program that prompts the user to input a string and outputs the string in uppercase letters. (Use dynamic arrays to store the string.)/*Your code from Chapter 8, exercise 5 is below. Rewrite the following code to using dynamic arrays.*/#include #include #include using namespace std;int main(){char str[81];int len;int i;cout << "Enter a string: ";cin. get(str, 80);cout << endl;cout << "String in upper case letters is:" << endl;len = strlen(str);for (i = 0; i < len; i++)cout << static_cast(toupper(str[i]));cout << endl;return 0;}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:20
Usually, when we sniff packets, we are only interested certain types of packets. we can do that by setting filters in sniffing. scapy’s filter use the bpf (berkeley packet filter) syntax; you can find the bpf manual from the internet. set the following filters and demonstrate your sniffer program again (each filter should be set separately): (a) capture only the icmp packet. (b) capture any tcp packet that comes from a particular ip and with a destination port number 23. (c) capture packets comes from or to go to a particular subnet. you can pick any subnet, such as 128.230.0.0/16; you should not pick the subnet that your vm is attached to.
Answers: 3
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
You know the right answer?
Write a program that prompts the user to input a string and outputs the string in uppercase letters....
Questions
question
Mathematics, 11.02.2021 17:30
question
Mathematics, 11.02.2021 17:30