#include<stdio.h> main { int A,B,X,VAL; printf("enter a number:"); scanf("%d",&A); printf("enter a number:"); scanf("%d",&B); printf("enter a number:"); scanf("%d",&X); Val= (A * X) + B; printf("the value of the function is %d",Val); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)