1. Engineering
  2. Computer Science
  3. this is in c language write a statement that prints...

Question: this is in c language write a statement that prints...

Question details

This is in C language:

Write a statement that prints the value of integer variable salary as a decimal number.

----------------------------------------------------------------------

This is what I wrote, it was incorrect.

#include <stdio.h>
int main()
{
int salary;
  
scanf("%d", %salary);

return 0;
}

---------------------------------------------------------------------

please help


Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution