https://youtu.be/tBBiaKVW12Q?feature=shared

https://youtu.be/tBBiaKVW12Q?feature=shared


πŸ“Œ 1. μž…λ ₯ λͺ…λ Ήμ–΄ cin

cinμ΄λž€?

μ‚¬μš© μ˜ˆμ‹œ

#include <iostream>

int main() {
    int a;
    std::cin >> a;  // μ‚¬μš©μž μž…λ ₯을 λ°›μ•„ λ³€μˆ˜ a에 μ €μž₯
    return 0;
}

μž…μΆœλ ₯ λ°©ν–₯ μ΄ν•΄ν•˜κΈ°:

μ—¬λŸ¬ 개 μž…λ ₯λ°›κΈ°:


int main() 
{
    int a = 0;
    int b = 0;         
    int c = 0;         
    int d = 0;         
    int e = 0;         
    
    std::cin >> a;
    std::cin >> b;
    std::cin >> c >> d >> e;

    std::cout << a + b;         
    std::cout << b * c;         
    std::cout << c / d;         
    std::cout << d % e;        
    std::cout << e + a;         

    return 0;
}


πŸ“Œ 2. μ€„λ°”κΏˆ λͺ…λ Ήμ–΄ endl

endlμ΄λž€?