Computer Science, asked by Anonymous, 1 year ago

Write a program in C++ to multipky three numbers

Answers

Answered by Anonymous
1

#include <stdio.h>

int main()

{

int x,y,z,result;

printf(“Enter the 1st number: “);

scanf(“%d”,&x);

printf(“Enter the 2nd number: “);

scanf(“%d”,&y);

printf(“Enter the 3th number: “);

scanf(“%d”,&z);

result = x * y * z;

printf(“result=%d”,result);

retrun 0;

getch();

}



Anonymous: Thanks:))
Similar questions