C - Write program to get the result of 0+50*1-60-60*0+10

Requirements

Write a program that solves 0+50*1-60-60*0+10

Demo

#include <stdio.h>

int main()/*from   w  w  w  .  jav a  2 s .  com*/
{
    printf("The answer is %d\n",0+50*1-60-60*0+10);
    return(0);
}

Result

Related Quiz