MergeResult 2023 10 06 06 21 48
MergeResult 2023 10 06 06 21 48
MergeResult 2023 10 06 06 21 48
h>
#include <stdio.h>
int main() {
discriminant = b * b - 4 * a * c;
if (discriminant > 0) {
else if (discriminant == 0) {
else {
realPart = -b / (2 * a);
return 0;
}
#include <stdio.h>
int main() {
int a, b, c;
max_num = min_num = a;
if (b > max_num) {
max_num = b;
min_num = b;
if (c > max_num) {
max_num = c;
min_num = c;
return 0;
}
#include<stdio.h>
int main()
int i,fact=1,number;
scanf("%d",&number);
for(i=1;i<=number;i++){
fact=fact*i;
return 0;
}
#include <stdio.h>
main(){
int s=1;
int n;
scanf("%d",&n);
for(int i=1;i<n;i++)
s+=(5*i);
printf("sum is %d \n",s);
}
#include <stdio.h>
main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++)
printf("*");
printf("\n");
}
}
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
printf(" ");
printf("%d", j);
printf("%d", j);
printf("\n");
return 0;}