Search found 1 match

by aya
Thu Oct 29, 2009 10:10 am
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 64918

wrog answer in triangle wave

i dont know where the problem pleas help
#include <iostream>
using namespace std;



int main()
{
int *mag;
int * freq;


int cases=0;
int count=0;
cin>>cases;
cout<<endl;
mag= new int [cases];
freq=new int [cases];

for(int i=0;i<cases;i++)
{
cin>>mag ;
cin>>freq ;

cout<<endl ...

Go to advanced search