The user is prompted to enter three numbers. The function finds the largest number and outputs it to the user.What do you think of my overall program flow and style?#include <iostream>using namespace std;int maxNumber(int num1, int num2, int num3); //function  prototype/declarationint main() {    int a, b, c, final;cout << Enter first number;cin >> a;cout << Enter sec number;cin >> b;cout << Enter third number;cin >> c;final = maxNumber(a, b, c);cout << Largest:  << final;cin.get();return 0;}//function defint maxNumber(int num1, int num2, int num3){    int result;if (num1 > num2  && num1 > num3) {    result = num1;}else if (num2 > num1  && num2 > num3) {    result = num2;}else if (num3 > num1  && num3 > num2) {    result = num3;}return result;}
Finding the greatest number from three numbers
c++;beginner