This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() | |
{ | |
printf("My name is Shakib the programmer. I am a student of siskul. My roll no is 01. I have came here to learn C programming language."); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() | |
{ | |
printf("My name is Shakib the programmer."); | |
printf("I am a student of siskul."); | |
printf("My roll no is 01."); | |
printf("I have came here to learn C programming language."); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main() | |
{ | |
printf("My name is Shakib the programmer.\nI am a student of siskul. \nMy roll no is 01.\nI have came here to learn C programming language."); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
int sir_present = 1; | |
if(sir_present == 1){ | |
int a, b, c, d; | |
scanf("%d %d %d %d", &a, &b, &c, &d); | |
printf("Summation: %d \n", a+b+c+d); | |
printf("Multiplication: %d\n", a*b*c*d); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
int n; | |
scanf("%d", &n); | |
if(n<0){ | |
printf("%d is negative.", n); | |
} | |
else{ | |
printf("%d is positive.", n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
int n; | |
scanf("%d", &n); | |
if(n<0){ | |
printf("%d is negative.", n); | |
} | |
else if(n>0){ | |
printf("%d is positive.", n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(){ | |
int n; | |
scanf("%d", &n); | |
if(n<0){ | |
n = n * -1; | |
} | |
printf("Absolute value is %d", n); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.EmptyStackException; | |
import java.util.Stack; | |
public class ExpressionEvaluator { | |
public static void main(String[] args) { | |
System.out.println(new ExpressionEvaluator("5+24/4*(5-3)").EvaluatePostFix()); | |
} | |
private String expression; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <vector> | |
#include <queue> | |
#include <string.h> | |
#define MAX 200 | |
using namespace std; | |
typedef long long int lng; | |
int main() |
OlderNewer