C/c++程序设计教程(高等教育出版社)龚沛曾 杨志强主编课后习题答案
C/c++程序设计教程(高等教育出版社)龚沛曾 杨志强主编课后习题答案
日期:2016-01-19 22:20:11 人气:2
实验1:
2.#include "iostream.h"
void main()
{
int a=2,b=4,c=6;
int s=(a+b)*c/2;
cout<<s<<endl;
}
3.#include "iostream.h"
void main()
{
int a,b,c;
cin>>a>>b>>c;
int s=(a+b+c)/3;
cout&l