Answer to Question #180114 in C++ for Goms

Question #180114

Write a C ++ program in which you declare a variable that holds an hourly wage


1
Expert's answer
2021-04-10T10:06:06-0400
include <iostream>

int main()
{
    // Example of declaration of initialization and input / output of a variable hourly_wage
    double hourly_wage = 2.5;
    std::cout << "Hourly wage = " << hourly_wage << std::endl;
    std::cout << "Enrer new value hourly wage: ";
    std::cin >> hourly_wage;
    std::cout << "Hourly wage = " << hourly_wage << std::endl;
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS