#include
#include

using namespace std;

int main(int argc, char *argv[])
{
int input=0,sum=0,count=0;
cout<<"Enter Score"< cin>>input;
while(input!=-1)
{
count++;
sum+=input;
cout<<"Again Enter Score"< cin>>input;
}
cout<<"your enter -1 => ending, average="< system("PAUSE");
return EXIT_SUCCESS;
}
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 hfnkiki 的頭像
    hfnkiki

    我要勇敢地追逐我的世界.我的夢...

    hfnkiki 發表在 痞客邦 留言(0) 人氣()