#include <cs50.h>
#include <stdio.h>
int main(void)
{
int sharesout = get_int("what are the shares outstanding?\n");
int stockprice = get_int("what is stock price?\n");
printf("Shares Outstanding are %d\n ", sharesout);
printf("Stock price is %d\n", stockprice);
int mktcap = sharesout * stockprice;
printf("the market cap is %d\n", mktcap);
}
No comments:
Post a Comment