Skip to content

Instantly share code, notes, and snippets.

View ROOMY2004's full-sized avatar

Sohiub Ashraf ROOMY2004

View GitHub Profile
for(int i = 0; i<=10; System.out.println(i),i++);
for(int i = 0, a = 1 , b= 2 ,temp=0;i<=10 && a<=60;temp=a+b,a=b,b=temp,i++,System.out.println(temp)) {
}
package ahmed;
import java.util.Scanner;
public class ahmed {
static Scanner a = new Scanner(System.in);
public static void main(String[] args)
#include <iostream>
using namespace std;
int main()
{
int a [3][3] , results1 , results2 , results3 , result , b[2][2] , many , type1 , type2 , result44, second , second2 , h[2][2] , m[3][3] , h3 , h1 , h2 ;
int x , x1 , x2 , x3 = 0 ;
float asdmoha ;
@ROOMY2004
ROOMY2004 / enum
Last active February 15, 2020 03:15
#include <iostream>
using namespace std;
int main(){
enum month{a=344,s=435,df=435,rgrt,b,bvcbtr,fg,hrt,h,gfb};
//لو
}
#include <iostream>
using namespace std;
int main(){
double a , b , c , d , f ;
cout<<"enter your number " ;
cin>>a>>b>>c>>d>>f5;
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
cout <<"enter your degree \n" ;
double v ;
import 'package:Education1/thirteen+ able .dart';
main() {
}
class Human{
String _name;
int _age;
Human (this._name , this._age);
void test( ){
_age;
}
class Human{
String _name ;
String _address;
int _age;
//الاخصار الصحيح في الويندوز Alt+Insert to build getter and setter
Human(this._address , this._name , this._age);
// int get age => _age;
@ROOMY2004
ROOMY2004 / main.dart
Created December 14, 2019 13:33
مراجعة لبعض النقاط فى list such as Random and contains
import 'dart:math';
main(){
List<int> sohiup = [];
Random random = Random();
for(int i = 0 ; i < 100 ;i ++){
int mohammed = random.nextInt(500);
sohiup.add(mohammed);