Skip to content

sonu874/clouds.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

clouds.cpp

code

#include using namespace std; int func_1(int n,int l){ int s=n; s=s+1; if(s>l){ return(n); } else{ return(s); } }

int func_2(int n,int l){ int s=n; s=s+2; if(s>l){ return(n); } else{ return(s); } }

int avoid(l[n]) int m[n]; for(int i=0;i<n;i++){ if(l[i]==0){ m[i]=l[i]; } }

int main() { int n; cout<<"enter number of clouds:"; cin>>n; int l[n];int x; for(int i=0;i<n;i++){ cout<<"enter:"; cin>>x; l[i]=x; } int m[n]; for(int i=0;i<n;i++){ if(l[i]==0){ m[i]=l[i]; } } int i=0,s=0,a,b;int x=sizeof(m); while(i<x){ a=func_1()

}

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published