Company: Revature

Difficulty: medium

Problem Statement

Two numbers A and B are given. Write a program to print their whole squares for A and B. The outputs should be separated by a single whitespace. Input Format A single line input containing two space-separated integers, A and B . Output Format The output contains a single line with the whole square of both A and B separated by a space. Sample Input 1 2 Sample Output 1 4

More Revature OA questionsInterview experiences