Wap to print nX + nY = Z equation

#include<stdio.h>
#include<conio.h>

void main()

{
	int a,b,c,x,y;
	clrscr();
	printf("value of a:");
	scanf("%d",&a);
	printf("value of b:");
	scanf("%d",&b);
	printf("value of c:");
	scanf("%d",&c);
	printf("\n Equation :%dx+%dy=%d",a,b,c);
	getch();
}

No comments:

Post a Comment