myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
Recent
Login Sign up
K

@Kr4241

find out max of three numbers

C++
2 years ago
#include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>b) { if(a>c){ cout<<("%d\n", a); } else {

write a program to check if a character is digit or not

C
2 years ago
#include <stdio.h> int main() { char ch; printf("enter a character \n"); scanf("%c", &ch); if ("%c",ch>='0' && ch<='9') { printf("character is digit") ; } else {

write a program to print smallest of two number

C
2 years ago
#include <stdio.h> int main() { int a,b; printf("Enter Two Numbers\n"); scanf("%d %d",&a,&b); // Small among a and b if(a<b)

write a program to check if a number is divisible by 2 or not

C
2 years ago
#include <stdio.h> int main() { int x; printf("Enter a number\n"); scanf("%d\n",&x); printf("%d\n",x%2==0); return 0;

write a program to print avg of three number

C
2 years ago
#include <stdio.h> int main() { int a,b,c; printf("Enter first number\n"); scanf("%d\n",&a); printf("Enter second number\n"); scanf("%d\n",&b); printf("Enter third number\n");
Previous Next page

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us