You are here:

C++/about nested loops and if statement



can you give me details about nested loops and
i have one questions which i have taken from last 2 years question paper
1-write a program using loops and if statement to calculate the no of days,weeks,months,and years between two dates.pls reply me.

Dear Sunny,
Thankyou for your question. I apologize for the
delay, because i was out for some days, and the
status didn't show me on vacation.

Well nested loops is somewhat concept related to
the normal loops like there are three

1- For Loop
2- While Lopp
3- Do While Loop

and three of them follows the following syntax

for( initial condition ; terminating condition ; control condition )

Nested loops is similiar to them, loops within loop.
I guess you should better look at a tutorial fro C/C++.
Well any specific queries, you can contact me.



All Answers

Answers by Expert:

Ask Experts




I can answer any question about functions,pointers,structures,object oriented programming basics of classes and data structures.My strong field is structured programming.


I have got 2 years experiece under C . I am able to answer about the structured concepts pointers to a little extent,OOP concepts. I have also experience in data Strucutres like Linked List, Stacks , Queues, Heaps, B Trees, Red Black Trees. I will try to satisfy with my knowledge. I am the Student of an expert here Martin, what i have learnt today, i just owe my every knowledge to him. He is the greatest.

©2016 All rights reserved.