Giter Site home page Giter Site logo

Note: ...is talking this about me 😄

Hi, I'm Majo an artist and IT student from Totonicapán, Guatemala 🇬🇹

Majo banner
LinkedIn TikTok Instagram

Life:

public class ArtisticBalance {

   /**
    * A method to balance your creative tasks and personal projects.
    *
    * @param task The task to execute.
    * @param theme Your current artistic theme. Default is 'Inspiration'.
    * @return A creative and engaging message.
    */
   public static String balanceCreativeTasks(String task, String theme) {
       // Artistic symbols
       String[] artisticElements = {
           "[Palette]", "[Brush]", "[Mask]", "[Music]"
       };

       // Creative advice based on theme
       String[] creativeAdvice = {
           "Embrace your inner artist and let your creativity flow!",
           "Keep experimenting with new ideas and techniques.",
           "Reflect on your past works to inspire your next masterpiece.",
           "Find beauty in every challenge you face."
       };

       // Themes available
       String[] themes = {
           "Inspiration", "Experimentation", "Reflection", "Challenge"
       };

       // Determine the index of the theme
       int themeIndex = -1;
       for (int i = 0; i < themes.length; i++) {
           if (themes[i].equalsIgnoreCase(theme)) {
               themeIndex = i;
               break;
           }
       }

       // Handle invalid theme
       if (themeIndex == -1) {
           return "Invalid theme! Please choose between 'Inspiration', 'Experimentation', 'Reflection', or 'Challenge'.";
       }

       // Select artistic element and advice
       String artisticElement = artisticElements[themeIndex % artisticElements.length];
       String advice = creativeAdvice[themeIndex % creativeAdvice.length];

       return String.format("Task to complete: %s %s. %nAdvice: %s", task, artisticElement, advice);
   }

   public static void main(String[] args) {
       // Example usage
       String message = balanceCreativeTasks("Complete painting project", "Inspiration");
       System.out.println(message);
   }
}

   

María José Baquiax Rodríguez's Projects

ejemplologinregistro icon ejemplologinregistro

Practicando con ASP.NET C#, realizando un registro y login con la utilización de variables Session y tablas

juegosolitario icon juegosolitario

Juego de solitario en c++ ESTRUCTURA DE DATOS nodos, punteros, listas doblemente enlazadas, pilas, colas, juego en consola

labs icon labs

Documentos realizados de practica/optimizacion

novatorem icon novatorem

Dynamic realtime profile ReadMe linked with spotify

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.