1. Engineering
  2. Computer Science
  3. write a c program that would take two integers a...

Question: write a c program that would take two integers a...

Question details

Write a C program, that would take two integers (a and b), and it would output a .

Say for example, if your program takes two integers 2 and 4, it would output b 16 ( 2 6 ). Sample input and output are: 4 = 1

Input Output
1,19 1
2,5 32
10,2 100
3,2 9

You are not allowed to use pow function in C.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution