作者chanchiu5566 (畅秋呼呼溜溜)
看板NCU97ME-B
标题[揪人] 新竹球团
时间Wed Sep 24 20:37:14 2008
我今天遇到邱腾兴了
他说他可以灌篮 他也想come
他问说tomorrow能不能打晚上的
me都可以 我12点之後就free了
#include<cstdlib>
#include<iostream>
using namespace std;
int main ( void )
{
int players , playtime ;
int 我 = 1 , 邱腾兴 = 1 , 阿古 = 1 ;
bool 阿古会来 , 阿古要打晚上 ;
cout << "请推文说明你要打吗?\n" ;
cin >> 阿古会来 ;
cout << "请推文说明你要打晚上吗?\n" ;
cin >> 阿古要打晚上 ;
if ( 阿古会来 = = true )
players = 我 + 邱腾兴 + 阿古 ;
if ( 阿古要打晚上 = = true )
playtime = 晚上 ;
else playtime = 下午 ;
else players = 我+ 邱腾兴 ;
cout << "players = " << player << endl ;
cout << "playtime = " << playtime << endl ;
system ("pause") ;
return 0 ;
}
等你推完文 补个执行的output
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.168.217.161
1F:→ chanchiu5566:蔡也能去更好 比较有聊 09/24 20:39
2F:嘘 x105:56必嘘 09/24 20:46
3F:→ chanchiu5566:别这样XDDD 09/24 20:47
4F:推 loveiseasy:啥鬼.. 09/24 21:12
5F:→ chanchiu5566:c++ 09/24 21:20
6F:→ zack2008:C++我熟的勒 09/24 21:34
7F:→ chanchiu5566:帮我debug阿 09/24 22:15
8F:→ chunyee:今天算了 取消吧 09/25 14:20
9F:推 rollstone:这边打球冲撞真的很多~~太刺激了~~ 09/25 23:12