Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
for loop with 2 variables in c++
user79265
Programming language:
C++
2021-03-24 05:28:17
3
Q:
for loop with 2 variables in c++
Bill Knows Best
Code:
C++
2021-04-12 03:13:38
for (int x=0, y=0 ; x < 10 && y < 10 ; x++, y++) { // Your code here }
2
Tags
variable
loop
var
Related
sum of 2 numbers in cpp
c++ return multiple values
iterate over 2 vectors c++
cpp cout more than 1 value
how to declare function with multiple parameter c++
how to add elements in an array in for loop c++
c++ modulo make it give only positive numbers
c++ program for addition of two numbers using functions
add two numbers in c++
how to break out two for loops c++
sum of 2 numbers in cpp function
c++ for loop multiple variables
how to add a number after each number in an array with a for loop in C++
equal elements in two arrays in c++
c++ assign multiple variables at once
sum of two numbers c++
two elements with difference K in c++
New to Communities?
Join the community