프로그래밍언어 과제
- 최초 등록일
- 2019.06.20
- 최종 저작일
- 2018.06
- 15페이지/ MS 워드
- 가격 1,500원
목차
없음
본문내용
프로그래밍언어 과제 1
#include <iostream>
using namespace std;
int main() {
int a = 7, b = 13, c;
cout<< (a + b / 3 * 3) <<endl;
cout<< (b << 2) <<endl;
if (a != b)
cout<< "TRUE" <<endl;
else
cout<< "FULSE" <<endl;
cout<< (b%a) <<endl;
cout<< ((a > b) ? a : b) <<endl;
cout<< (sizeof(a)) <<endl;
cout<< (c = a++) <<endl;
cout<< (a += b) <<endl;
cout<< (a&b) <<endl;
cout<< (c = (a + b, a - b))<<endl;
return 0;
프로그래밍언어 과제2
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int f,n,i=1,j=1,score,a;
double sum = 0, bsum = 0;
cout<< "과목의 수를 알경우 1,모를 경우 2" << "\n";
cin>> f;
참고 자료
없음