Search found 1 match

by mesho
Wed Mar 26, 2014 12:39 am
Forum: Volume 117 (11700-11799)
Topic: 11777 - Automate the Grades
Replies: 32
Views: 12198

Re: 11777 - Automate the Grades Why getting WA???

iam getting WA with c++

#include <iostream>
#include <algorithm>
using namespace std;
int main ()
{

char grade ;
int arry[10],n,avrage;
cin >>n;
for(int j=1;j<=n;j++){

int marks=0;
float sum=0;
int counter=0;
int avrage[3];

for (int i=0;i<7;i++)
{
cin >>arry[i];

if ( i >= 4 ...

Go to advanced search