1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#include "class.h"
int main()
{
quiz healthy_eating;
healthy_eating.set_hmq(10);
healthy_eating.set_pom_answers("You are foodsmart.", "You are not foodsmart.");
healthy_eating.set_q_a(1, "Almonds are a protein alternative? [t]rue, [f]alse", 't');
healthy_eating.set_q_a(2, "Spinach is a good source of iron? [t]rue, [f]alse", 't');
healthy_eating.set_q_a(3, "Soy is a healthy choice for baby's? [t]rue, [f]alse", 'f');
healthy_eating.set_q_a(4, "Chicken nuggets are healthier than sawdust? [t]rue, [f]alse", 'f');
healthy_eating.set_q_a(5, "Normal salad dressing is healthier than fat free? [t]rue, [f]alse", 't');
healthy_eating.set_q_a(6, "Feta cheese is non-fatty? [t]rue, [f]alse", 'f');
healthy_eating.set_q_a(7, "Skipping breakfast is a good way to lose weight? [t]rue, [f]alse", 'f');
healthy_eating.set_q_a(8, "Orange juice is a huge source of vitamin E? [t]rue, [f]alse", 'f');
healthy_eating.set_q_a(9, "Milk is a good source of vitamin D? [t]rue, [f]alse", 't');
healthy_eating.set_q_a(10, "A good breakfast is important for your daily routine? [t]rue, [f]alse", 't');
healthy_eating.run_quiz();
return 0;
}
|