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
Sergeeva-Olga [200]
3 years ago
10

Swapping Order of Vowels Write a program to swap the order of the vowels in a given word. For example, if the word is programmin

g, the output is prigrammong. Here, the initial order of vowels is o, a, i which changes to i, a, o. Assume that the letters of the words are in lowercase.
Computers and Technology
1 answer:
Georgia [21]3 years ago
7 0

Answer:

Program is as follow:

Explanation:

#include<iostream.h>

#include < conio.h>

bool isVowel(char b)

{

return

( b=='a' || b=='A' || b=='e' || b=='E' || b=='i' || b=='I' || b=='o' || b=='O' || b== 'u' || b=='U');

For swaoing the vowels

string reverseVowel ( String str)

{

int j = 0;

string v ;

for ( int i= 0 ; str [i]]!='0'; i++)

if( isv(str[i]))

v[j++] = str[i[;

for ( int i = 0; str[i]! = '0' ; i++

if ( isv (str[i]))

str{i} = v [--j]

return str;

}

int main ()

{ string str = " Programming";

cout<<swapv(str);

return 0 ;

}

You might be interested in
You have a network that uses a logical ring topology. how do messages travel through the network"
RSB [31]
Messages travel from one computer to another until they will find a proper computer to whom that message is addressed.
7 0
3 years ago
What is the value of the variable result after these lines of code are executed?
Crank

Answer:

18

Explanation:

If you take the formula, and you substitute the values of the variables, it will be:

    10 * 2 - 10 / 5

Then if you remember the order of math operations, it will be:

    (10 * 2) - (10 / 5)

Which reduces to:

    20 - 2 = 18

4 0
3 years ago
What type of tests is suitable for automated testing?
Shtirlitz [24]
Layering test
input-output test
UI regression test
unit test
integration test
code analysis
production logging and monitoring

8 0
3 years ago
Design a program that will ask the user to enter the amount of a purchase. The program
LUCKY_DIMON [66]

The program is a sequential program, and they do not require loops and conditions

<h3>The program design in Python</h3>

The complete program written in Python is as follows:

purchaseAmount = float(input("Amount: "))

stateSalesTax = 0.05 * purchaseAmount

provincialSalesTax = 0.02 * purchaseAmount

print("Amount:",purchaseAmount)

print("State sales tax:",stateSalesTax)

print("Provincial sales tax:",provincialSalesTax)

print("Total sales tax:",(stateSalesTax + provincialSalesTax))

print("Total sales:",(purchaseAmount + stateSalesTax + provincialSalesTax))

Read more about Python programs at:

brainly.com/question/26497128

#SPJ1

4 0
2 years ago
Which chart element provides the boundaries of the graphic?
slava [35]
If your choices are the following:
<span>A. Legend
B. Chart area
C. Slices
D. Chart elements

Then the answer is letter B. </span>Chart area is the boundary that contains all the chart and all its elements including the chart titles, legends, plot area, labels, etc. 
4 0
4 years ago
Other questions:
  • A _______ chart compares differences in values by showing vertical bars sized relative to the values in the data series. A. line
    6·2 answers
  • Which of the following statements is the least abstraction of the world wide web?
    6·2 answers
  • CHKDSK is a system utility that is commonly found in Windows. What is CHKDSK? Use the Internet to research and write about CHKDS
    15·2 answers
  • 1 Explain the difference between using a computer program and programming a computer.
    12·1 answer
  • What does the following code print out? (10 points) int[] array = { 1, 4, 3, 6, 8, 2, 5}; int what = array[0]; // scan the array
    14·1 answer
  • An experienced user has installed Oracle VM VirtualBox on her workstation and is attempting to use it to create a virtual machin
    6·1 answer
  • All of the following are helpful test taking strategies EXCEPT_______________.
    5·2 answers
  • If any one has mincraft on ps4 bedrock we can finish building a BIG city world all we need to put is a shop and money dispensers
    8·2 answers
  • What type of hard drive has no moving parts making it fast and durable
    15·1 answer
  • Online education provides _____.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!