Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Int main ( ) { int i,n; cin>>n; i=n; while(i>=1) { i=i+5; i=i-6; } }

Exuberant Elephant answered on January 19, 2022 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • int main() {
  • #include<stdio.h> int main() { int n; scanf("%d",&n); int ar[n]; int count=0; for(int i=0;i<n;i++) { scanf("%d",&ar[i]); } for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { if(ar[i]==ar[j]) { count=count+1; } else { count=0; } } } printf("%d\n",(count)/2); }
  • int i =0 &&
  • What will be the values of variables p, q and i at the end of following loop? int p = 5; int q = 18; for(int i=1;i&lt;5;i++) p++; --q;
  • #include<stdio.h> int main { int arr[ 5]), i=0; while(i<5) arr[i]=++i; for i=0; i<5; i++) printf("%d", arr[i]; return 0;
  • int a[ ]={4,8,3,2}; a[0] = 23; a[3]= a[1]; a[2]=12; for(int i=0; i<a.length; i++) System.out.println(a[i]);
  • int a=0; int b=30;
  • Int a ,b,z; a=1;b=4;while(a<b) { a=2*a; b=b 1; } z=b;
  • Int a ,b,z; a=1;b=4;while(a<b) { a=2*a; b=b 1; } z=b;
  • int a =0, b =10, c = 19; a = - - c % b++;
  • int a=0; int b=30;
  • (int i=0;
  • #include<stdio.h> int fun( ) { static int num = 10; //static int num; //num = 10; //static => initialized only once -- when program is started ( like global variables ) num++; printf("num = %d\n",num); } int main( ) {
  • int solution(int n) { // your code here int result = 0; if (n < 0){ return 0; } else { for (int i = 0; i < n; i++){ if (i % 3 == 0 || i % 5 == 0){ result = result + i; } } } return result; } give me the most opt
  • #include int main(){ int i,j; i=j=2,3; while(--i&&j++) printf(%d %d,i,j); return 0; }
  • int main(int c, char *v[]) { char *c; c=v[1] + v[2] + v[3]; printf(“%c”, c); }
  • Int a ,b,z; a=1;b=4;while(a<b) { a=2*a; b=b 1; } z=b;

  • Int main ( ) { int i,n; cin>>n; i=n; while(i>=1) { i=i+5; i=i-6; } }

    0
    Popularity 2/10 Helpfulness 1/10 Language cpp
    Source: Grepper
    Tags: c++ int
    Link to this answer
    Share Copy Link
    Contributed on Jan 19 2022
    Exuberant Elephant
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.