int i =0 &&

0

int i =0 &&

By Beginner Amanda West at Jun 02 2021

0

for (int i = 0; i < fruitsnames.length; i++)

By Beginner Erik Mertz at Jun 01 2021

0

#include int main(){ int i,j; i=j=2,3; while(--i&&j++) printf(%d %d,i,j); return 0; }

By Beginner ris Lueilwitz at Dec 06 2020

0

arraylist arraylist = new arraylist<>(); for (int i = 0; i < fruitsnames.length; i++) { hashmap hashmap = new hashmap<>();

By Beginner Taylor Spencer at Jun 01 2021

0

void insertionsort(int * a, int n) { int i, j, x; for (i = 1; i < n; i++) { x = a[i]; j = i - 1; while (j >= 0 && a[j] > x) { a[j + 1] = a[j]; j = j - 1; } a[j + 1] = x; } }

By Beginner Maxine Rempel at Sep 24 2020

0

i=int(input("enter the number")); sum=0; pro=1; while(i>0): d=1%10; if (d%2==0): sum=sum+d; else: pro=pro*d; i=i//10; print("sum=",sum,"product=",pro);

By Beginner Devin McGlynn at May 27 2021

0

random random = new random(); stringbuilder builder = new stringbuilder(count); for (int i = 0; i < count; i++) { builder.append(numbers.charat(random.nextint(numbers.length())));

By Beginner Freddie Koss at Apr 24 2020

-1

i need to write an int function in which there are only cout statements and if i return 0/1 it prints them too.

By Wooden Hammer Orlando Effertz at Dec 21 2020

0

s=0 def sum(x,y): n=int(input("enter no. of terms") for i in range(n): l=int(input("enter no.")) s=s+l print(s) sum()

By Beginner Ed Nicolas at Jun 22 2021


Related code examples


Code examples by languages