Output ???

I think I only need help in this part of my program, but I don't know how to place values for the user to enter and not have the output be 0. Also this struct members are days and hours.

1
2
3
4
5
6
7
8
9
10
11
12
13
 int main()
{
	int clocktime;
	int n; // I added the variable n
	struct Time myTime;
	cin >> n;
	for (clocktime = 0; clocktime < n; clocktime++)// Before I had 365 instead of n, since I'm counting days, but it just gave me 0 365 times.
	{
		normalize(myTime);
	}

	return 0;
}
I am pretty new to programming, and I'm sure there are plenty of others here with more knowledge than me, but I don't think you have included enough code to answer your question.
Last edited on
Topic archived. No new replies allowed.