IBM HACKERRANK CODING SOLUTIONS
Open in Telegram
We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted β
Show moreThe country is not specifiedThe category is not specified
4 420
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
Hi dear Vamshi Krishna ππ»
Welome to INFOSYS Feb 20th π·
We wish you a good time here β€οΈ
Hi dear Prabhas ππ»
Welome to TCS 19th Feb Exam Discussion π·
We wish you a good time here β€οΈ
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n<100 || n>200){
cout<<"INVAILD INPUT";
return 0;
}
if(n%2==0){
int div=n/4;
for (int i=0;i<4;i++){
cout<<div<<endl;
}
}
else{
int div=n/4;
int temp=n-(div*3);
for (int i=0;i<3;i++){
cout<<div<<endl;
}
cout<<temp;
}
}
C++
TCS exam
https://t.me/all_exam_answers_available
