adspace


= 5, b = 1, x = 10, and y = 5, create a program that
outputs the result of the formula f = (a – b) (x – y) using
a signal printf () function.

Answer Posted / Mansi Sonkar

Here's an example C program that calculates and prints the value of f using the provided values for a, b, x, and y:

```c
#include <stdio.h>

int main() {
int a = 5;
int b = 1;
int x = 10;
int y = 5;
int f = (a - b) * (x - y);
printf("The value of f is: %d", f);
return 0;
}
```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which books i have to read for group2?

1982


Wich is the best study centare for sap fico module in hydarabad? .......urget. Plzz give me u r opinion...

2042


What is the most difficult situation you have ever faced in your life?

3126


i want andhra bank po previous solved papers

1973


Can someone please give me contact details of Mr Chanchal Saxena. He has previously given advice on SAP as a career

1625


We a One DHCP Server in org with 500 users if my DHCP is down and somehow it can`t be repaired within 2 days what the alternative rather than static IP?

2140


What is valley, Playa, Catchment area, Basin ? please describe with picture.

1978


pls money is my problem now to help my family. tell others and give them my email pls

2129


i need some list of names in handicapped acheivers. where can i found? if anyone know please mail me janarthanan25@yahoo.co.in i need 5 persons of names in disabled acheivers. it is very urgent. please help me

2097


When will axis bank announce the result of exam held on 20th june 2010 of western zone?

2182


please i have been given a project on optical networking hardware,i have done all i could but i could'nt find the information i wanted,please can u help me,i need to submit it in 6hours time today.please try and help me out.

2107


hi this is laxman. i did't find group 2 challan form on apspsc site plz help me , where it is?

2068


Helo there. Whoever have been shortlisted for sbi interview and have it before 4th may,plz update wt questions where asked in the interview

2369


describe yourself...

2116


Please tell me the reference for absence of yeast and mold for(drinking)feed water for pharmaceutical use. If anybody have link please post.

2213