게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
자바요..좀 봐주세여..
게시물ID : gomin_45350짧은주소 복사하기
작성자 : ㅁㄴㅇㅁ
추천 : 0
조회수 : 343회
댓글수 : 3개
등록시간 : 2009/10/08 15:06:25
1.       Explain which data types you could use to represent each of the following kinds of data. (Present the proper data type you can choose and explain why.)

A.        An exam score –

B.        Annual rainfall measured in inches 

C.        The distance traveled by a rocket measured in meters 

D.        An interest rate - 

E.         The brand name of a computer

 

그냥 각각 어떤 자료형을 사용해야 하는가랑 그 이유만 간단히 적어주시면 되요 ㅠㅠ 

2.

   Write two fragments of code that will compute the sum of first n positive odd integers using for statement and while statement.

n에따라서 양의 홀수의 합을 출력하는데 for와 while로 각각구하면 되요
예를들어 n=3이면 1+3+5 이런식으로 
이걸 코딩해달라네요


제발좀 부탁드려요 급한거라..
전 자바 아에 모르고요; 동생부탁으로 올려봅니다...
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호