Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

error declaration for parameter but no such parameter


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 ShuChapter


    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 25 October 2016 - 03:38 AM

im newbie here also in C++
can someone please tell me what's wrong with my source code?
i dont know about if, else if, only googling n i dont know how to
im really appreciate your help, thx
#include <stdio.h>
#include <conio.h>
int A,B,C;
printf("Input the first value...... ");scanf("%i",&A);
printf("Input the second value..... ");scanf("%i",& B);
printf("Input the third value...... ");scanf("%i",&C);
if((A> B)&&(A>C)){
printf("The biggest value ",A);}
else if((B>A)&&(B>C)){
printf("The biggest value ", B);}
printf("The bigest value ",C);

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download