-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshubin.c
More file actions
40 lines (35 loc) · 806 Bytes
/
shubin.c
File metadata and controls
40 lines (35 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <stdio.h>
#include <windows.h>
void greet(char name[],char dec1);
int main()
{
char name[10];
char dec1;
printf("whats your name homie?\n");
scanf("%s",name);
getchar();
printf("Nice name!! \n And whats your religion?\n");
scanf("%c",&dec1);
greet(name,dec1);
Beep(100, 500);
}
void greet(char name[],char dec1){
if(dec1 == 'm'){
printf("Asslamu Alaikum brother,%s",name);
}
else if (dec1 == 'h')
{
printf("Namashkar,%s dada sob valo to??",name);
}
else if (dec1 == 'c')
{
printf("Holy moly,%s ,lord save you brother",name);
}
else if (dec1 == 'j')
{
printf("whassup mr,%s asshole",name);
}
else{
printf("you better change your religion nigga");
}
}