Answer:
bhai sahab kya question hai mujhe samajh mein hi nahin per Sara sale Kya Re Tu Hi Sab Kuchh Nahin
Answer:
True
Explanation: The first step is to make a goal. The second step is to plan how you will accomplish you goal. The third and final step is to accomplish your goal.
Answer:
The following code is in C++.
#include <iostream>
using namespace std;
int main() {
int a[10],sum=0;//declaring an array and initialized variable sum with value 0.
cout<<"Enter the numbers"<<endl;
for(int i=0;i<10;i++)
{
cin>>a[i]; //taking input of 10 integers.
}
for(int i=0;i<10;i++)
{
sum=sum+a[i];//finding the sum..
}
cout<<"The sum is : "<<sum<<endl<<"The numbers entered are "<<endl;
for(int i=0;i<10;i++)
{
cout<<a[i]<<" ";//displaying the elements.
}
return 0;
}
Output:-
Enter the numbers
1 2 3 4 5 6 7 8 9 10
The sum is : 55
The numbers entered are
1 2 3 4 5 6 7 8 9 10
Explanation:
I have taken an array of size 10 so that no more than 10 integers could fit in it.After that taking the input from the user prompting 10 integers using the for loop.After that finding the sum.Then printing the sum and the numbers entered.
Answer:
#include<stdio.h>
#include<string.h>
int main() {
int n;
FILE *fp = fopen("salaries.txt", "r");
double sumSalaries = 0;
double quarterlySalary1, quarterlySalary2, quarterlySalary3, quarterlySalary4;
while(!feof(fp)) {
fscanf(fp, "%lf", &quarterlySalary1);
fscanf(fp, "%lf", &quarterlySalary2);
fscanf(fp, "%lf", &quarterlySalary3);
fscanf(fp, "%lf", &quarterlySalary4);
sumSalaries = sumSalaries + quarterlySalary1+quarterlySalary2+quarterlySalary3+quarterlySalary4;
printf("Salary Sum %lf: \n", sumSalaries);
printf("Income Type: ");
if(sumSalaries > 200000 ){
printf("h");
}
else if(sumSalaries >= 15000 && sumSalaries<=200000){
printf("m");
}
else{
printf("l");
}
printf("\n");
}
fclose(fp);
return 0;
}
Explanation:
Answer
medicare and social security
Explanation
FICA IS Federal Insurance Contributions Act. FICA tax is the money that is taken out of workers' paychecks to pay older Americans their Social Security retirement and Medicare that is Hospital Insurance benefits. It is a mandatory payroll deduction