This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello i am tesing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
void Arae(float R); | |
int main() | |
{ | |
Arae(10); | |
Arae(20); | |
getch(); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
int main() | |
{ | |
int a,b,c; | |
printf("b value "); | |
scanf("%d",&b); | |
printf("c value "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
#include<stdlib.h> | |
#include<time.h> | |
#define sh1 5 //snack head | |
#define st1 29//snack tail | |
#define sh2 11 | |
#define st2 41 | |
#define sh3 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
int main() | |
{ | |
for(int row=0;row<=4;row++) | |
{ | |
for(int space=1;space<=4-row;space++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
#define arraysize 100//maximum array size | |
void negarr(void);//functiondeclare prototype | |
int main() | |
{ | |
int arr[arraysize];//declare arraysize | |
int i,j; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%Project 3 | |
%Owise Kyaw Min Oo | |
function [r,c]=maxind(A) | |
[m,n]=size(A); | |
maxele=A(1,1); | |
for i=1:m | |
for j=1:n | |
if A(i,j)>maxele | |
maxele=A(i,j); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Project 4 | |
% Owise Kyaw Min Oo | |
a=input('Enter the coeffient of a:'); | |
b=input('Enter the coeffient of b:'); | |
c=input('Enter the coeffient of c:'); | |
dist=(b^2-4*a*c); | |
if dist>0 | |
x1=(-b+(sqrt(dist)))/(2*a); | |
x2=(-b-(sqrt(dist)))/(2*a); |
OlderNewer