1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fofino [41]
3 years ago
8

Design and implement an application that reads a string from the user then determines and prints how many of eachlowercase vowel

(a,e,i,o,and u) appear in the entire string.
Computers and Technology
1 answer:
frez [133]3 years ago
4 0
Design and implement an application that reads a string from the user, then determines and prints how many of each lowercase vowel (a, e, i, o, and u) appear in the entire string . Have a separate counter for each vowel. Also count and print the number of nonvowel characters .

SPECIFICATION OF PROMPTS, LABELS AND OUTPUT : Your code should use the prompt "enter string : ". After the input is read, there are six lines of output , each starting with a different label: "a: ", "e: ", "i: ", "o: ", "u: ", "other: " in that order. After each label is the required count.

For example: if "aardvark heebie jeebies" were read in,
You might be interested in
What is tahe difference between a cone and a prism
Natalka [10]

prism is (geometry) a polyhedron with parallel ends of the same size and shape, the other faces being parallelogram-shaped sides while cone is (label) a surface of revolution formed by rotating a segment of a line around another line that intersects the first line.

4 0
2 years ago
Which option allows users to access the handout master to modify it?
leonid [27]

Answer:

b

Explanation:

im the goat

3 0
3 years ago
Read 2 more answers
The possibility of devices outliving a manufacturer, leaving them without long-term support against vulnerabilities is a possibl
Dafna11 [192]

Answer: Security (updating of software and hardware)

Explanation:

Internet of Things is one of the latest inventions in technology wherein smart objects and devices can connect to the internet and also share information within that space.

One of the several challenges of the Internet of Things is Security. Because of the introduction of the Internet, there is a vulnerability to hacking. Upgrades, therefore ought to be regularly provided so as to prevent hackers from recognizing patterns and hacking into them. So when the device outlives the manufacturer, there would be no one to provide regular updates thus making the device vulnerable.

8 0
4 years ago
What type of storage drive contains spinning platters?
irga5000 [103]
The disc drive, I believe.
3 0
3 years ago
Warm up: Variables, input, and casting
Dafna11 [192]

Answer:

#include <stdio.h>

int main()

{

   int userInt;

   double userDouble;

   char userChar;

   char userString[50];

   

   printf("Enter integer: \n");

   scanf("%d", &userInt);

   

   printf("Enter double: \n");

   scanf("%lf", &userDouble);

   

   printf("Enter character: \n");

   scanf(" %c", &userChar);

   

   printf("Enter string: \n");

   scanf("%s", userString);

   

   printf("%d %lf %c %s \n", userInt, userDouble, userChar, userString);

   printf("%d %lf %c %s %s %c %lf %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt);

   printf("%d %lf %c %s %s %c %lf %d %lf cast to an integer is %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt, userDouble, (int)userDouble);

   return 0;

}

Explanation:

In addition to int and double, declare the char and string

In addition to the int, ask the user to enter the double, char and string

Print the variables in the same order as they entered

In addition to entered order, also print the variables in reverse order - type the variables in reverse order

In addition to reverse order, print the casting value of the double as int - to cast a double to an int put (int) before the variable name

5 0
4 years ago
Other questions:
  • Match terms in the first column with the order descriptions in column two.
    11·1 answer
  • numbers that the user inputs. You must use JoptionPane to input the three numbers. A first method must be called and used to dev
    13·1 answer
  • Which ipsec component is software that handles the tasks of encrypting, authenticating, decrypting, and checking packets?
    10·1 answer
  • How would you insert a section break in a document?
    10·1 answer
  • Which of the following declares an abstract method in an abstract C++ class? (Points : 2) public: void print();
    14·1 answer
  • What is the common name of computers connected in a network?
    10·1 answer
  • Abdhbhbhsbfhsbhcvdhcbsdbhsvhgvhdsgvfhsgdvfhgdsvghcghvc
    10·2 answers
  • How much heat is required to convert 1 gm of ice into steam​
    12·1 answer
  • ______________ is a raw fact about a person or an object
    6·1 answer
  • What electronic devices do you use more frequently? And how much time do you use them?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!