<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Coder</title>
    <description>The latest articles on DEV Community by Coder (@coder_d295cd12743e7d146c7).</description>
    <link>https://dev.to/coder_d295cd12743e7d146c7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2630706%2F617f7cb0-6b53-4feb-8436-b38f1a2341fd.png</url>
      <title>DEV Community: Coder</title>
      <link>https://dev.to/coder_d295cd12743e7d146c7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/coder_d295cd12743e7d146c7"/>
    <language>en</language>
    <item>
      <title>Problem realted to condition and loop and pattern</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 14:16:43 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/problem-realted-to-condition-and-loop-and-pattern-553</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/problem-realted-to-condition-and-loop-and-pattern-553</guid>
      <description>&lt;p&gt;1.Question&lt;br&gt;
=&amp;gt; Find n is +ve,-ve or 0?&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'dart:io';

void main() {
  print('Om Namah Shivay');
  int n = int.parse(stdin.readLineSync()!);
  if (n &amp;gt; 0) {
    print('$n is positive');
  } else if (n == 0) {
    print('$n is zero');
  } else {
    print('$n is positive');
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.Question&lt;br&gt;
=&amp;gt;which one is greater in a and b?&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'dart:io';

void main() {
  print('Om Namah Shivay');
  print(greater());
}

int greater({int? a, int? b}) {
  a = int.parse(stdin.readLineSync()!);
  b = int.parse(stdin.readLineSync()!);
  if (a &amp;gt; b) {
    return a;
  } else {
    return b;
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.Question&lt;br&gt;
Find that the alphabet is in lowercase or uppercase?&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
  print(Case(alpphabet: 'om'));
}

String Case({required String alpphabet}) {
  if (alpphabet == alpphabet.toUpperCase()) {
    return 'upperCase';
  } else {
    return 'lowerCase';
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;loops&lt;br&gt;
4.print 1 to n&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
  number(n: 10);
}

void number({required int n}) {
  int i = 1;
  while (i &amp;lt;= n) {
    print(i);
    i++;
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5.print sum of 1 to n?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(sum(n: 5));
}

int sum({required int n}) {
  int i = 1, sum = 0;

  while (i &amp;lt;= n) {
    sum += i;
    i++;
  }
  return sum;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6.Find sum of even numbers in 1 to n?&lt;/p&gt;

&lt;p&gt;code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(sum(n: 5));
}

int sum({required int n}) {
  int i = 1, sum = 0;

  while (i &amp;lt;= n) {
    i % 2 == 0 ? sum += i : sum += 0;

    i++;
  }
  return sum;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;7.convert f to c(temp.)&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(celsiusConvertor(f: 5.23));
}

double celsiusConvertor({required double f}) {
  return (f - 32) * 5 / 9;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;8.n is prime or not?&lt;/p&gt;

&lt;p&gt;code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(prime(n: 56));
}

String prime({required double n}) {
  int i = 2;
  String ans = 'prime';
  while (i &amp;lt; n) {
    if (n % i == 0) {
      ans = 'non-prime';
      break;
    }
  }
  return ans;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;9.Make this pattern&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqscvcdwz2ocv0txgb1x5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqscvcdwz2ocv0txgb1x5.png" alt="Image description" width="148" height="121"&gt;&lt;/a&gt;&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(pattern());
}

String pattern() {
  int i = 1;
  String star = '*';
  while (i &amp;lt;= 3) {
    print(star * 4);
    i++;
  }
  return '';
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;10.Make this pattern&lt;/p&gt;

&lt;p&gt;111&lt;br&gt;
222&lt;br&gt;
333&lt;/p&gt;

&lt;p&gt;code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  print(pattern());
}

String pattern() {
  int i = 1;
  while (i &amp;lt;= 3) {
    String star = i.toString();

    print(star * 3);
    i++;
  }
  return '';
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Button in Flutter</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 11:41:19 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/button-in-flutter-abc</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/button-in-flutter-abc</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3f77ouo3hlupjjdqq2g2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3f77ouo3hlupjjdqq2g2.png" alt="Image description" width="503" height="726"&gt;&lt;/a&gt;&lt;br&gt;
code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

void main() {
  runApp(om());
}

class om extends StatefulWidget {
  const om({super.key});

  @override
  State&amp;lt;om&amp;gt; createState() =&amp;gt; _omState();
}

class _omState extends State&amp;lt;om&amp;gt; {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      darkTheme: ThemeData.dark(),
      title: 'Om Namah Shivay',
      home: Scaffold(
        appBar: AppBar(
          centerTitle: true,
          backgroundColor: Colors.red,
          title: Text(
            'Button',
            style: TextStyle(color: Colors.black),
          ),
        ),
        body: Center(
          child: ElevatedButton(
              style: ButtonStyle(
                  fixedSize: WidgetStatePropertyAll(Size(100, 100)),
                  shape: WidgetStatePropertyAll(RoundedRectangleBorder(
                      side: BorderSide(color: Colors.white, width: 3),
                      borderRadius: BorderRadius.only(
                          topLeft: Radius.circular(50),
                          bottomRight: Radius.circular(50)))),
                  elevation: WidgetStatePropertyAll(5.0),
                  backgroundColor: WidgetStatePropertyAll(Colors.red)),
              onPressed: () {},
              child: Text(
                'Click',
                style: TextStyle(color: Colors.black),
              )),
        ),
      ),
    );
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Wrap in Flutter</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 11:24:19 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/wrap-in-flutter-1jg0</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/wrap-in-flutter-1jg0</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fea0pl2a6024eyes75780.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fea0pl2a6024eyes75780.png" alt="Image description" width="497" height="652"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

void main() {
  runApp(const om());
}

class om extends StatefulWidget {
  const om({super.key});

  @override
  State&amp;lt;om&amp;gt; createState() =&amp;gt; _omState();
}

class _omState extends State&amp;lt;om&amp;gt; {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      darkTheme: ThemeData.dark(),
      debugShowCheckedModeBanner: false,
      title: 'Om Namah Shivay',
      home: Scaffold(
        appBar: AppBar(
          title: Text(
            "Rows and Columns and wrap",
            style: TextStyle(color: Colors.black),
          ),
          centerTitle: true,
          backgroundColor: Colors.red,
        ),
        body: Wrap(
          alignment: WrapAlignment.center,
          direction: Axis.vertical,
          children: [
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
            Container(
              margin: EdgeInsets.all(15),
              color: Colors.red,
              width: 50,
              height: 50,
            ),
          ],
        ),
      ),
    );
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Container in Flutter</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 09:31:43 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/container-in-flutter-3175</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/container-in-flutter-3175</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk34ssjh4st9wxu6j8e1n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk34ssjh4st9wxu6j8e1n.png" alt="Image description" width="475" height="712"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;code:-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

void main() {
  runApp(om());
}

class om extends StatelessWidget {
  const om({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      darkTheme: ThemeData.dark(),
      title: 'Om Namah Shivay',
      home: Scaffold(
        appBar: AppBar(
          title: Text(
            'Container',
            style: TextStyle(color: Colors.black, fontStyle: FontStyle.italic),
          ),
          centerTitle: true,
          backgroundColor: Colors.red,
        ),

        ///body
        body: Center(
          child: Container(
            decoration: BoxDecoration(
                boxShadow: [
                  BoxShadow(
                      color: Colors.white,
                      spreadRadius: 2,
                      blurRadius: 15,
                      offset: Offset(0, 15)),
                  BoxShadow(
                      color: Colors.white,
                      spreadRadius: 2,
                      blurRadius: 15,
                      offset: Offset(15, 0)),
                  BoxShadow(
                      color: Colors.red,
                      spreadRadius: 2,
                      blurRadius: 15,
                      offset: Offset(0, -15)),
                  BoxShadow(
                      color: Colors.red,
                      spreadRadius: 2,
                      blurRadius: 15,
                      offset: Offset(-15, 0)),
                ],
                gradient: LinearGradient(colors: [Colors.red, Colors.orange]),
                borderRadius: BorderRadius.only(
                    topRight: Radius.circular(10),
                    bottomLeft: Radius.circular(10),
                    topLeft: Radius.circular(80)),
                border: Border.all(color: Colors.white, width: 3)),
            alignment: Alignment.center,
            height: 300,
            width: 300,
            child: Text(
              '||ऊँ नम: शिवाय ||',
              style: TextStyle(color: Colors.white, fontSize: 25),
            ),
          ),
        ),
      ),
    );
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Class in dart</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 07:19:42 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/class-in-dart-552h</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/class-in-dart-552h</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');

  Roti roti = Roti(heatReguired: 50.0, name: 'wheat', water: 26.23);
  print(roti.process());
}
//class
class ingredient {
  late String name;
  late double water;
  ingredient({required this.name, required this.water});
}

class Roti extends ingredient {
  late double heatReguired;
  Roti({required this.heatReguired, required super.name, required super.water});

  String process() {
    return '$heatReguired is the heat needed for making roti that take $name and $water water';
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>dart</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Function in dart</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 06:55:39 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/function-in-dart-39j3</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/function-in-dart-39j3</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
  print(info(age: 16));
}
//function
String info({String? name, required int age}) {
  return "my name is ${name != null ? name : 'XYZ'} and  i am $age year old";
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>dart</category>
      <category>programming</category>
    </item>
    <item>
      <title>Map in Dart</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 06:39:00 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/map-in-dart-40e2</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/map-in-dart-40e2</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
//Map
  Map&amp;lt;int, String&amp;gt; planetOrder = {
    1: 'mercury',
    2: 'venus',
    3: 'earth',
    4: 'mars',
    5: 'jupiter',
    6: 'uranus',
    7: 'neptune',
    8: 'pluto',
  };

  //remove pluto
  planetOrder.remove(8);
  print(planetOrder);
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>dart</category>
      <category>programming</category>
    </item>
    <item>
      <title>List in Dart</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 05:48:53 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/list-in-dart-2g88</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/list-in-dart-2g88</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
//list
  List&amp;lt;int&amp;gt; ages = [1, 2, 3, 4, 5, 6, 7, 5, 4, 2];
  ages.remove(2);
  ages[5] = 45;

  print(ages.length);
  print(ages);
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>list</category>
      <category>dart</category>
    </item>
    <item>
      <title>Loop</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 05:36:38 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/loop-3a4</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/loop-3a4</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
//loops
//1.for loop
  for (var i = 1; i &amp;lt;= 10; i++) {
    String ans = 'even';
    print('$i  is ${i % 2 == 0 ? ans = 'even' : ans = 'odd'}');
  }

  //2.while loop
  int j = 1;
  while (j &amp;lt;= 10) {
    if (j % 2 == 0) {
      print('$j is even');
    } else {
      print('$j is odd');
    }
    j++;
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>loop</category>
      <category>dart</category>
    </item>
    <item>
      <title>Ternary operater</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 04:33:12 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/ternary-operater-26d7</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/ternary-operater-26d7</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
//ternary
  int age = 16;
  print(age == 16 ? 'age = 16' : 'invalid');
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>ternaryoperator</category>
    </item>
    <item>
      <title>Nested if-else</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 04:29:07 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/nested-if-else-24fl</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/nested-if-else-24fl</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
  //   nested if -else
  int age = 16;
  if (age == 15) {
    print('age = 15');
  } else if (age == 16) {
    print('age = 16');
  } else {
    print('That person neither born  nor die.');
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>ifelse</category>
    </item>
    <item>
      <title>Switch Case</title>
      <dc:creator>Coder</dc:creator>
      <pubDate>Mon, 30 Dec 2024 04:18:49 +0000</pubDate>
      <link>https://dev.to/coder_d295cd12743e7d146c7/switch-case-4l0i</link>
      <guid>https://dev.to/coder_d295cd12743e7d146c7/switch-case-4l0i</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void main() {
  print('Om Namah Shivay');
  //switch 
  int age = 16;
  switch (age) {
    case 15:
      print('age = 15');

      break;
    case 16:
      print('age = 16');
    default:
      print('That person neither born  nor die.');
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I understood&lt;/p&gt;

</description>
      <category>programming</category>
      <category>code</category>
      <category>cpp</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
