Codeforces 118A. String Task solution in C/CPP

118A. String Task problem link Codeforces 118A. String Task solution in C #include<stdio.h>int main() { int i; char s[101]; gets(s); strlwr(s); for(i=0;s[i]!=’\0′;i++) { if(s[i]==’a’||s[i]==’e’||s[i]==’i’||s[i]==’o’||s[i]==’u’||s[i]==’A’||s[i]==’E’||s[i]==’O’||s[i]==’I’||s[i]==’U’||s[i]==’y’||s[i]==’Y’) { continue; } else { printf(“.%c”,s[i]); } } printf(“\n”); return 0; } Codeforces 118A. String Task solution in CPP #include <iostream> #include <cstring> #include <cctype> using namespace std; int main() { … Read more

Beecrowd 1043 solution in C ,C++ || Uri 1043 || Free Code Center

Beecrowd 1043 solution

Beecrowd-1043 Triangle-solution ||Beecrowd 1043 solution Triangle beecrowd | 1043 Read three-point floating values (A, B, and C) and verify if is possible to make a triangle with them. If it is possible, calculate the perimeter of the triangle and print the message: Perimetro = XX.X If it is not possible, calculate the area of the … Read more

Beecrowd 1042 Simple Sort Solution in C,Cpp

beecrowd 1042

Beecrowd 1042 Simple Sort Solution Question Solution in C #include<stdio.h> int main() { int a,b,c,temp,x,y,z; scanf(“%d%d%d”,&a,&b,&c); x=a; y=b; z=c; if(a>b){ temp=a; a=b; b=temp; } if(a>c){ temp=a; a=c; c=temp; } if(b>c){ temp=b; b=c; c=temp; } printf(“%d\n%d\n%d\n\n”,a,b,c); printf(“%d\n%d\n%d\n”,x,y,z); return 0; } Next problem solution: Beecrowd -1043 Triangle Solution in C & C++

URI 1011 solution in C || Beecrowd 1011 Sphere solution in C || Beecrowd 1011 || Free Code Center

URI 1011

At its core, programming is about solving problems. In this article, we’ll take a deep dive into the solution for the Beecrowd 1011 Sphere problem in C. We’ll start with a brief overview of the problem, then walk through the solution step-by-step, and finally offer some tips for improving the efficiency of the code.

Uri 1009 Solution in Python,C,C++

Uri 1009 solution in C

Beecrowd1009 – Salary with Bonus solution problem question Uri 1009 solution in C- Salary with Bonus solution #include<stdio.h> int main() { double a,b,c; char name; scanf(“%s %lf %lf”,&name,&a,&b); c=b*.15+a; printf(“TOTAL = R$ %.2lf\n”,c); return 0; } Uri 1009 solution in C++ Uri 1009 solution in Python || Beecrowd1009 – Salary with Bonus solution with Python … Read more