Jumat, 28 November 2025

034-01.cpp std cout

// 034-01.cpp
#include <iostream>

int main()
{
    int x=8;
    int y=6;
    std::cout << std::endl;
    std::cout << x-y << " " << x*y << " " << x+y;
    std::cout << std::endl;
    return 0;
}

output:
 
2 48 14

Process returned 0 (0x0)   execution time : 0.409 s
Press any key to continue.

Tidak ada komentar:

Posting Komentar