C언어 소스코드요~
딥블랙
질문 제목 :c언어 소스코드요질문 내용 :
exercises
1. type in and run the six programs presented in this chapter. compare the output
produced by each program with the output presented after each program in the
text.
2. write a program that prints the following text at the terminal.
1. in c, lowercase letters are significant.
2. main is where program execution begins.
3. opening and closing braces enclose program statements in a routine.
4. all program statements must be terminated by a semicolon.
3. what output would you expect from the following program?
#include stdio.h
int main (void)
{
printf (testing...);
printf (....1);
printf (...2);
printf (..3);
printf (\n);
return 0;
}
4. write a program that subtracts the value 15 from 87 and displays the result,
together with an appropriate message, at the terminal.
5. identify the syntactic errors in the following program.then type in and run the
corrected program to ensure you have correctly identified all the mistakes.
#include stdio.h
int main (void)
((
20 chapter 3 compiling and running your first program
int sum;
/* compute result
sum = 25 + 37 - 19
/* display results //
printf (the answer is %i\n sum);
return 0;
}
6. what output might you expect from the following program?
#include stdio.h
int main (void)
{
int answer, result;
answer = 100;
result = answer - 10;
printf (the result is %i\n, result + 5);
return 0;
}
위에내용을 토대로1. 소스코드제출
2. 생략
3. 결과화면 캡처
4. 소스코드 제출
5. 에러메시지 저장후 해결방안 제시
6. 결과화면 캡처
이게다무슨뜻인지모르겠어요 도와주세요 ㅠㅠ
위문제 6가지에대한 1~6답변좀부탁드려요
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2695707 | 3의 배수 나타내기. (2) | 수리 | 2025-05-23 |
2695626 | 피보나치수열 과제 때문에 질문 드립니다. (6) | 옆집언니 | 2025-05-22 |
2695595 | 포인트공부중입니다 int형에서 4=1 인가요? (3) | 족장 | 2025-05-22 |
2695567 | 드라이브 고유번호를 가져오는 함수 (2) | 초코맛사탕 | 2025-05-21 |
2695533 | 음수의 산술변환! 질문이요 ㅠㅠ... (4) | 꽃여름 | 2025-05-21 |
2695506 | 구조체 배열 이용 도서목록 출력 프로그램 (1) | 가을귀 | 2025-05-21 |
2695450 | c언어 함수 질문이요.... | 이슬비 | 2025-05-20 |
2695403 | VirtualAlloc함수 및 메모리 질문 | 크리에이터 | 2025-05-20 |
2695355 | c언어 for함수 | 미쿡 | 2025-05-19 |
2695327 | 안녕하세요 제가 이번에 좀 큰 프로그램을.. | 악당 | 2025-05-19 |
2695295 | mutex동기화의 thread기반 채팅 서버소스 질문입니다 | 그루터기 | 2025-05-19 |
2695270 | 질문이요..swap 관한겁니다..ㅠㅠ (3) | 콩알녀 | 2025-05-19 |
2695244 | 노땅초보궁금한게 하나 있는데요..반복문(while문)초보자질문 (6) | 큰꽃늘 | 2025-05-18 |
2695166 | do while 문 어떤것이잘못된건지 모르겠어요 (2) | 아이폰 | 2025-05-18 |
2695122 | 구조체에 대해 물어보고 싶은게 있습니다 ^^^.. (7) | 수련 | 2025-05-17 |
2695091 | txt 파일 입출력 후 2차 배열에 저장하기입니다. (3) | 헛장사 | 2025-05-17 |
2695063 | 수도요금 프로그램좀 짜주세요. | 시내 | 2025-05-17 |
2695033 | 답변좀요ㅠㅠ (1) | 비사벌 | 2025-05-16 |
2695010 | C++의 STL은 왜 굳이 템플릿화 시켜서 라이브러리를 만드나요? (초보수준의 질문..) (2) | 엘보어 | 2025-05-16 |
2694958 | 로직이 변한다는 것에 대해서 궁금합니다. | 튼동 | 2025-05-16 |