工程與科技
大學
已解決
請問有人會嗎?感謝
3. Program Q3.epp
Wirite aprogram that meet the following reqruirements
包
紀
記6
Display auser promptto guide the userto center 3 integers
Read these 3 integer values into variables nl.n2,n3
Show whethernlis an evenoranodd-
Show whethern2is an even oranodd-
Show whethern3 is an even oran odd-
1. Program Ql.epp
Modify the following code so that it shows the correetresult 1.00000013 or atleast very close to
1.00000013-
<iostream>
iomanip
usinq namegspace std7
int main 0
float xx )(
float y: )t
cout << setprecigsion(20) << x << end1ly
cout_ << Yy << end1y
float z 三 二 Y7
cout << z << end1l7
工eturn 7
Fig. 1b. result ofeode shown in Fig. 1a
Program Q2.epp
Wirite aprogram that meet the following requirements
a, Declare two integer variables, iVar_1, iVar 2
Display auser prompt to guide the user to enter two integers
c.。 Read these two integer values into variables iVar_1 and ivs
dd Compute and display the quotient and remainder ofiVar_1 divided by iVar_2
e. Compute and display the value ofiVar_1 divided by iVar_2tothe 10th deeimalplace.
解答
您的問題解決了嗎?
看了這個問題的人
也有瀏覽這些問題喔😉
推薦筆記
電路學 EP.01 電路與電路元件
45
0
靜力學
45
0
Python 05 - 串列
37
1
微積分 常用技巧
34
0
半導體元件EP.01 晶格簡介
26
0
半導體元件EP.02 量子力學簡介
23
0