Is there a way to structure my code to add up numbers across multiple if else statements?
问题 Right now this code takes all the products of an inputted series of digits and prints them. I want to be able to add these products together but I am struggling with how to structure it, given the if else conditions. It needs to be able to output the total products of every 2nd digit starting from the second last and then add those products. Any advice on how to structure this much appreciated. // Define libraries #include <cs50.h> #include <stdio.h> #include <math.h> int main(void) { //