Answer to Question #287327 in C++ for Abebe

Question #287327

Write a C++ program for the following flowchart. N.B Let the user enter the



initial value of X and Y, finaly your program should return the value of X, Y and



Z.




1
Expert's answer
2022-01-13T12:31:12-0500
#include <iostream>


int main(int argc, char* argv[])
{
    int X, Y, Z;
    std::cout << "Enter X, Y, Z: ";
    std::cin >> X >> Y >> Z;
    std::cout << "The values are: " << X << '\t' << Y << '\t' << Z << 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