SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
45 stars 132 forks source link

For Loop #411

Closed Harshit-Poddar90 closed 2 years ago

Harshit-Poddar90 commented 2 years ago

Enter your question -

A for loop is a programming language statement which allows code to be repeatedly executed.

The syntax is

for ( ; ; )

expression_1 is used for initializing variables which are generally used for controlling the terminating flag for the loop. expression_2 is used to check for the terminating condition. If this evaluates to false, then the loop is terminated. expression_3 is generally used to update the flags/variables. ### Enter link to the question(if question belongs to any online platform) - https://www.hackerrank.com/challenges/c-tutorial-for-loop/problem ### Tags for the question(eg - Array, Basic, Stack, etc.) - loops.
Harshit-Poddar90 commented 2 years ago

pls assign it to me.

SarthakKeshari commented 2 years ago

@Harshit-Poddar90, Kindly add your solution to "Hackerrank" folder. Deadline - 12/10/2021