This file contains hidden or 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 <iostream> | |
const int MAX=5; | |
using namespace std; | |
void convert(double* ptr){ | |
for(int i=0;i<MAX;i++) | |
*ptr++ *=2.5; | |
} | |
int main(){ | |
double sum=0; | |
double arr[MAX]={10,20,30,50,100}; |
This file contains hidden or 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<stdlib.h> | |
#include<conio.h> | |
void G(char g){ | |
g='5'; | |
printf("%d",g); | |
} | |
int main(){ | |
char G='g';char S='s'; | |
char num[34]={0,0,0,0,0}; |
This file contains hidden or 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<conio.h> | |
#include<stdlib.h> | |
#include<time.h> | |
#define money 500000 | |
#define size 9 | |
int enmey; | |
const int atso[size]={1,10001,25001,50001,10000, |
This file contains hidden or 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<conio.h> | |
#include<stdlib.h> | |
#include<time.h> | |
#define money 500000 | |
#define size 9 | |
int enmey; | |
const int atso[size]={1,10001,25001,50001,10000, |
This file contains hidden or 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
//LOTERY Game Finish|6:12:2018/11:14AM I am train | |
#include <stdio.h> | |
#include <conio.h> | |
#include<stdlib.h> | |
int x;int age;char ch;int ran; | |
int money; | |
void getdata(); | |
void lotery(int x,int money,int ran,int age);//// | |
int main(){ | |