[ Solution ] Wipro Elite National Talent Hunt 2021 Question with Solution

 Wipro Elite National Talent Hunt 2021

Today I am sharing the Wipro Elite National Talent Hunt 2021 Model Question with the answer so if you have applied for Wipro Elite National Talent Hunt 2021 then you must have to to check these questions and their solution. These Questions are based on the Previous Year Question of Wipro Elite National Talent Hunt.



Only the candidates who have qualified for the Online Assessment, they can only have the chance to attend the Interview round. So, work hard to prepare yourself.

TechWithCode is wishing you a Best of Luck to all our Readers
 thank you.


Wipro Elite National Talent Hunt 2021 Model Question 1:-

Problem Statement:-

Print the below pattern (half diamond using numbers)
Input:
3 4
Output:

3
44
555
6666
555
44
3

Input :
4 4
Output:
4
55
666
7777
666
55
4

Solution:- Source Code in C Programing

#include<stdio.h>
int main()
{
int i,j,s,N,count=0;
scanf(“%d%d”,&s,&N);
for(i=s;count<4;count++)
{
for(j=0;j<count+1;j++)
printf(“%d”,i);
printf(“\n”);
i=i+1;
}
for(i=s+N-2;count>0;count--)
{
for(j=0;j<count-1;j++)
printf(“%d”,i);
printf(“\n”);
i=i-1;
}
return 0;
}

Get The Solution of All possible Pattern for Wipro 2021 Exam

Wipro Elite National Talent Hunt 2021 Model Question 2 :-

Problem Statement:-

Program to find the average of n (n < 10) numbers using arrays

Solution:- Source Code in C Programing

#include <stdio.h>
int main()
{
int marks[10], i, n, sum = 0, average;
printf("Enter n: ");
scanf("%d", &n);
for(i=0; i<n; ++i)
{
printf("Enter number%d: ",i+1);
scanf("%d", &marks[i]);
sum += marks[i];
}
average = sum/n;
printf("Average = %d", average);
return 0;
}

OutPut:-

Enter n: 5
Enter number1: 45
Enter number2: 35
Enter number3: 38
Enter number4: 31
Enter number5: 49
Average = 39 

Join Us on Telegram To get Premium content Completely FREE



No comments:

Powered by Blogger.