Skip to content

Instantly share code, notes, and snippets.

View OwiseKyawMinOo's full-sized avatar

owise kyaw min oo OwiseKyawMinOo

View GitHub Profile
@OwiseKyawMinOo
OwiseKyawMinOo / test
Created November 26, 2017 05:33
testing code
hello i am tesing
#include<stdio.h>
#include<conio.h>
void Arae(float R);
int main()
{
Arae(10);
Arae(20);
getch();
return 0;
}
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
printf("b value ");
scanf("%d",&b);
printf("c value ");
#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
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
int ikey=0;
do{
scanf("cls");
printf("snack and ladder game menu systam\n");
#include<stdio.h>
#include<conio.h>
int main()
{
for(int row=0;row<=4;row++)
{
for(int space=1;space<=4-row;space++)
{
#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;
%Project 5
%Owise Kyaw Min Oo
Click=0;
while Click~=6
Click=menu('Programming Languages Creators','C','C++','C#','Python',...
'Java','Exit');
if Click==1
disp('Dennis Ritchie')
%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);
% 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);