Write a c program to check 15 is greater than 13
C Programming Language / Decision Making of C Language
5922Program:
#include"stdio.h" void main( ) { int x,y; x=15; y=13; if (x > y ) { printf("x is greater than y \n"); } }
Output:
x is greater than y Press any key to continue . . .
Explanation:
In this program you learned that how to use if (x > y )
if statement to check that a variable is grater than or not.
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS