// e.cpp : Defines the entry point for the console application. // #include "stdafx.h" #define P 3.

142 float f (float); int _tmain(int argc, _TCHAR* argv[]) { float a, b; printf("Calculate the circle area:\n"); printf("Input your radius (cm): \t\t"); scanf("%f", &a); b= f(a); printf("Answers is:\n"); printf("Your answer is %.2f\n\n", b); return 0; } float f ( float g) { float t; t= (g*g)*P; return t; }

// w.cpp : Defines the entry point for the console application. // #include "stdafx.h" float ad (float, float, float); void w (void); int _tmain(int argc, _TCHAR* argv[]) { w(); return 0; } float ad(float y, float x, float m) { float value; value = -((m*x*x)-y); return value; } void w(void) { float a, b, c, d;

d). d= ad(a.printf("Calculation of intersection of C\n\n"). printf("Answers is:\n"). &b). &c). printf("Enter the value of M:\t\t"). scanf("%f". } . printf("The value of C is: %f\n\n". printf("Enter the value of X:\t\t"). scanf("%f".b. printf("Enter the value of Y:\t\t"). scanf("%f". &a).c).