Can anyone help me please! Tomorrow is last date of submitting C++ PROJECT

Can anyone help me please! I want the source code for this program.!! Tomorrow is last date of submitting C++ PROJECT. I want the source code for this program.!!

Airline Reservations System

A small airline has just purchased a computer for its new automated reservations system.
You have been asked to develop the new system. Youre to write an app to assign seats on each flight of the airlines only plane (capacity: 10 seats). Display the following alternatives: Please type 1 for First Class and Please type 2 for Economy.
If the user types 1, your app should assign a seat in the first-class section (seats 15).
If the user types 2, your app should assign a seat in the economy section (seats 610).
Use a one-dimensional array of type bool to represent the seating chart of the plane.
Initialize all the elements of the array to false to indicate that all the seats are empty.
As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available.
Your app should never assign a seat that has already been assigned. When the economy section is full, your app should ask the person if its acceptable to be placed in the first-class section (and vice versa).
If yes, make the appropriate seat assignment. If no, display the message Next flight leaves in 3 hours.

Taking the Leap: Building My First WordPress Block Plugin

Like most years, I spent this U.S. Independence Day cooped up with my furry friends. I closed all the windows, shuttered the blinds, switched on a couple of fans for white noise, and clicked the television on. My cats and I relaxed. It is my job to keep them calm while my — usually drunken — compatriots burn hundreds of dollars away in the night sky. It is my ritual, and I enjoy it.

For this holiday, we re-watched Season 1 of Star Trek: Lower Decks, and I learned how to build a block plugin.

This was not my first attempt. When the block editor launched nearly three years ago, I tinkered with a few block type ideas. However, I never got far. Documentation was sparse, and I had almost no experience with JavaScript beyond building trivial bells and whistles for front-end design.

Leaving my day job as a developer to write for WP Tavern also meant limited time to learn block development. And, my free time for the last couple of years has been filled with other projects. Lately, I have had the urge to jump back in and start building things for fun once again. My extended sabbatical from development work gave me time to pursue other interests while allowing my well of creativeness a chance to refill. The break did me some good.

With time to kill yesterday afternoon, I dove right in. After a couple of hours of reading docs, studying other developers’ code, and breaking things, I had a functional block for a breadcrumbs list.

WordPress block inserter with a breadcrumbs block selected, showing its preview.
Custom block registered and ready to insert.

Marcus Kazmierczak’s Copyright Block plugin helped me get over one of the initial humps. It was helpful to see real-world, non-example code written in vanilla JavaScript to get to the meat of how the system worked.

My overall thoughts on building custom block types?

It was easier than I thought it would be. Documentation is, at the same time, both overwhelming and limiting. It is tough to find the correct answer if you do not even know what you are looking for. The barrier to entry is much higher than when I built my first plugin in 2007. The Block Type API makes some things stupidly simple but complicates others.

Successfully inserting my first block type into the editor canvas was gratifying. I don’t think that feeling ever goes away as a developer.

Breadcrumbs list block shown in the WordPress post editor.
Successful insertion and rendering of my first block plugin.

I am excited about the potential for blocks, such as a breadcrumbs list, when the site editor launches. Many similar features do not make sense in the post editor. However, when users can make direct edits to their templates, it will open a world of possibilities.

Learning Curve

I know enough JavaScript to be a danger to myself and others. Having spent almost the entirety of my professional career in the WordPress realm has meant focusing on PHP. But, programming is programming. Once you have a strong understanding of one language, it not an impossible leap to piddle around enough to create a functional script in another. Most of the same foundational concepts are there. The hurdle is often with learning some new syntax.

However, the biggest obstacle with “modern” JavaScript is setting up the build tools, bundlers, and more. It can be a tall order to even type out that first line of code.

Sure, some of the documentation has vanilla JavaScript examples, but when you get into anything more complex than the basics, it is not so vanilla anymore. You will need a way to bundle JavaScript and transform JSX syntax. That means tools like webpack and Babel.

WordPress has its own script for cutting through most of the complexity, but I recommend Laravel Mix. It is simple enough for even the least-savvy JavaScript programmers among us and has thorough documentation. It is a script made for folks who want to worry less about tooling and more about actually writing code.

Block building is also a different kind of leap. Whether it was custom template tags, shortcodes, widgets, or hooks, traditional WordPress development has meant building those in a PHP environment. I suspect that most plugin developers have tons of features that they can bring to the masses via the block editor. They will often rely on server-side rendering. WordPress has a ServerSideRender component for actually handling this.

One of the handiest features of registering block types is the block “supports” system. Want a background color option? Just one line of code will do. Want the user to access the font-size control? That is a single line too. With little effort, I extended my breadcrumbs block to include a ton of styling options for users. And, they adapt to the site’s active theme.

Multiple breadcrumb trail blocks with different styles applied to them in the WordPress post editor.
Testing various combination of block-supported styling options.

The list of block-supported features offers an array of standardized options at pretty much no development cost. Even the Customize API, previously the most advanced tool for building form fields, did not come this close.

Building custom inspector controls was straightforward once I got the hang of how the block edit piece of the puzzle worked. For now, I have a simple toggle option for enabling/disabling a feature. Often, the hardest part is just finding what you are looking for. WordPress has a massive library of components to choose from.

At this point, I have a basic block on the client (editor) side. Most of the complexity is handled on the server via PHP. If I could build this in an afternoon while attending to nervous cats, it should not be a stretch for more plugin authors to hop aboard this train. There are thousands of shortcodes and widgets that developers can convert to blocks with minimal code.

I am not ready to release my breadcrumbs block into the wild just yet. There is still some fine-tuning left to do and a few advanced features to implement. Also, a breadcrumbs list is primarily needed in a site editor context where users can drop it into something like their header template. We are not there yet, but I will undoubtedly share the final result with the community when we are.

Next, I will try to build a block that does not rely on server-side rendering. I think I have the hang of it now. Breaking through that initial barrier is always the hardest step.

postcss-px-to-viewport

A user wrote in the other day asking us to add this PostCSS plugin: postcss-px-to-viewport. We’re always happy to consider them as needed, and this one looks pretty neat and pretty popular.

It also blows my mind a little bit. All you do is size things in traditional units like px and it turns them into viewport units instead, making the entire UI scale together. You could just use viewport units yourself, but I guess this means you get to keep using units you have more muscle memory and a mental model for, yet get this result.

Above is me in Debug Mode checking out the weird result!

One reason I bring it up is to note the special way that options are passed to the PostCSS plugin:

@use postcss-px-to-viewport(
  viewportUnit: vw,
  viewportWidth: 1200
);

That’s just passing two of the many options this plugin supports. Any PostCSS plugin we offer that supports options works in this same format. For example, if you want to customize Autoprefixer, you can do that the same way.

The post postcss-px-to-viewport appeared first on CodePen Blog.

the answers to my question

Consider the following array declaration and answer questions 1 and 2: int A [5];

  1. Write the code to initialize the Array A to ALL ones (i.e., 1 in every cell using a for statement with declarations of any loop variables needed.
  2. Write the code to declare and initialize an integer variable sum, and follow it with the code from question 1) to sum up the values in Array A.

The Beginner’s Guide to Company Values

Company values enable your company to create an identity unique to its mission and vision. But both identifying and living out your company values can be a challenge. This is especially true as your company sees growth, and with it a slew of changes.

This guide was created to give you some insight on the basic components that make up a company’s core values, some tips and tricks for identifying your core values with precision, and the tools you can use to embed those values across your organization. Let’s dive right in.

What Are Company Values?

You can think of company values as the north star for virtually everything a company does, aspires to be, and stands for. They typically show up as a set of principles that are always considered when making company decisions. Making sure your company has a clear and solid set of core values ensures your employees collectively work towards the same goals. This, in turn, can be a key driver of company growth and achievement. Without company values, you run the risk of watering down your goals, slowing down your progress, and aimlessly trying for growth without a clear focus on how you’ll get there.

The Basics of Company Values

Now that you know what company values are. Let’s break things down further into the basic components that come together to create them.

Evolution

Did you know your company values don’t have to stay static? That’s right. When you’re deciding on a set of core values, it isn’t like you’re writing your company’s constitution. Your values can evolve as your company evolves.

Chances are, as your company grows, evolution is going to be an inevitable part of the process. Maybe leadership changes or your initial goals aren’t the ones that are going to take you to that next level of growth. As you create your set of values, keep evolution in mind. Setting your values in stone only works to stifle your progress. The whole point of values is to help you move forward.

Thankfully, knowing you can evolve lets you breathe a little. It makes it easier to make a final decision on which values you want to keep.

Simplicity

Contrary to what some might believe, your company values don’t have to be a complex mess of meandering sentences that cover every corner of what you’re trying to say. In reality, the simpler your company values are the better. If your values are simple, they’re easier to communicate, establish, and maintain.

If your employees have trouble remembering what your values are, they’re probably too convoluted. Either that or they aren’t memorable enough. The shorter and to the point your list of values are, the easier they’ll be to recall.

For example, instead of saying “we value personal responsibility regardless of who we are or what we’re doing” you can simply create a bullet point that states “personal responsibility.” The shorter, more condensed version is easier to grasp. It’s easier to remember.

And if it’s easier to grasp and remember, it becomes easier to enact. That’s when values start becoming part of your culture.

Originality

On their own, your values won’t be anything no one has ever heard before. That’s okay. Still, you can and should strive for originality when you’re piecing together the set of values that ultimately become your company’s north star.

While you can look to other existing companies for inspiration, you shouldn’t just copy and paste their same values because you think it worked well for them. In other words, while any singular value you choose might not be completely original, your combined set of values can absolutely (and should) be original.

Sure, your company probably has competitors within its industry that might look similar to you. But what makes your company unique are its people and how it runs its day-to-day operations. For example, it doesn’t make much sense to claim that you’re “eco-friendly” as a value if your company does little to nothing to be “green” or more eco conscious.

Part of being original is embracing what your company does and how it does it wholeheartedly. As you establish your values and incorporate them throughout—including in HR—you’ll be able to hire talent that better aligns with your values. As you can probably guess, this can have positive trickle down effects throughout your company in more ways than one.

3 Tools to Improve Company Values

Admittedly, company values can be hard to pinpoint. And they can be even harder to enact throughout your company. To help with that process, here are three different tools to help you through the process of identifying and establishing your core values.

Espresa

There are lots of ways to enact your company values. Espresa makes it easy to enact your values by providing a cloud-based culture hub where employees can go for rewards and recognition as well as employee resources. Say your company values fitness. With Espresa, you can easily set up company fitness events that are inclusive for any employees that might want to attend.

As you probably already know, company culture is largely informed by the values you choose. Espresa offers plenty of modules and online tools that help you gamify your company culture. This way, employees stay engaged and they’re more likely to enact your company values and keep them top of mind. Your people are what ultimately determine if your company values hold any weight and drive growth. With Espresa, you can make sure you’re engaging them with community building events.

Cascade


Company values and strategy pretty much go hand in hand. A strategy centered platform like Cascade makes sure you act quickly and adapt even quicker as you implement and refine your company values. With visual tools that help you draw out your strategies, you can be sure you get closer to your goals by tracking clear KPI’s and keeping employees engaged across your whole organization.

Planning tools that measure and track performance can help you see where your core values are making an impact. Change management strategy and leadership development templates are only some of the tools Cascade offers that can support your journey of establishing core values and incorporating them throughout your team members.

BambooHR

One of the best ways to establish and maintain your core company values? Start incorporating them into your HR efforts. Like they like to say, BambooHR is software built with heart. It’s reporting features can give you insight through data on how to build a stronger culture based on your core values.

Besides being a place where you can organize and centralize all your employee data, BambooHR also equips you with performance management tools that help you both get and receive employee feedback when you need it most. BambooHR also makes it easy for managers to monitor and track team and employee goals, review notes, and ask for updates when necessary. Small to medium businesses can take advantage of all the tools BambooHR has to offer. They are tangentially correlated with and can help you move your company values agenda forward.

3 Tricks for Identifying Your Company Values

In its early stages, identifying a company’s core values can be tricky. However, there are specific steps you can take to help you get closer to identifying the core values that best fit your company and gear it for growth.
Read Through a List of Existing Values
Reading through a list of existing values can help point you in the right direction when you’re brainstorming the specific values you want to call your own. Why? It helps you think beyond the limited set of values you can think about off the top of your head. It’s okay to hit the search bar to find comprehensive lists of values to read and think through.

For example, some values that are worth reading and thinking about are things like:

  • Commitment
  • Conscientiousness
  • Innovation
  • Honesty
  • Humility
  • Drive
  • Collaboration
  • Curiosity
  • Focus
  • Simplicity
  • Growth mindset
  • Ownership
  • Personal responsibility
  • Diversity
  • Boldness
  • Openness

Once you’ve read through that short list of possible company values, I could bet you start thinking bigger than to simply reach for the first values that come to mind. The more you brainstorm and read through possible core values, the more you’ll be able to ideate and come closer to choosing and identifying values that align exactly with what you want your company to stand for.

In the case of company values, the more specific you can be, the less room for misinterpretation or lack of action you’ll leave.

An additional way to find inspiration is to look at the set of values from companies that operate in a completely different industry to yours. Vary your research and look at both behemoth organizations like Nestle or Unilever, but then don’t forget to look through the values of smaller or more medium sized companies. There are ideas and lessons to glean from successful companies of all sizes.

Gather Feedback From Company Leadership

Feedback during the ideation process is crucial to make sure you aren’t missing the mark. If your company has established leadership positions, include them in your company value brainstorming process.

The more like minded people within your company can come together to create a refined set of values, the easier time you’ll have creating a set of values your company can firmly stand by and enact. From the feedback and value revision process, you can start drafting your final set of values.

Draft A List of Possible Sets of Values

Now it’s time to group values together. From both the feedback that you gather from your team of leaders, and both the list of values that you found through research, ask yourself, which values jump out the most as the ones that align with the company?

Once you get a few sets of values together, you can start to see which align with your company best.

If you’re working with a small startup, your core values might not be that apparent if you’re trying to identify them through how your company operates day to day. This is okay. It might mean that you come up with a set of values that you’ll tweak later, as your company progresses and underlying values rise to the top. Or even as your business evolves and takes a different direction.

However, if you’re a more established company, some values might be apparent through how you do business, and how your employees relate to each other best. This is why gathering feedback is so important. You’ll get better insight into what a possible set of solid values can be. Drafting a list of possible values will help you make your final decision.

What to Do Next

This guide is quite the deep dive. If you’ve made it this far, you’re more familiar with the actual meaning of company values, the core components that make it up, the tools that can help you implement those values, and a few effective tricks that can help you identify your own set of unique core values.

However, the fun doesn’t stop there. There are a million and one things on any given business’ to-do list. We’re here to provide you in-depth guidance throughout the whole process. If you’re stuck on the business plan writing process, this guide on How To Write A Business Plan For Your Startup can help you through writing the executive summary, market research, marketing and sales strategy, as well as everything you need to know about financials.

On your quest to find the best customer relationship management software, you might find this guide on the best CRM software particularly useful. It goes over how to choose CRM software for your unique business as well as what features and tools you should consider when making your final choice.

Sept. 16-17: Free Virtual IoT OS Tech Conference

The first-ever RT-Thread IoT OS Global Tech Conference will be held from September 16–17,2021 features embedded technologies, new projects showcase, community contributors track. We welcome embedded developers from across different countries to come together to exchange ideas, showcase projects, identify solutions, discuss future strategies, and provide mutual learning opportunities on a wide variety of topics, let’s exploring embedded technologies.

Register for free here!

RT-Thread Tech Conference

About RT-Thread

RT-Thread is an embedded real-time operating system, with its rich middle-tier components and great hardware & software ecosystem delivered great support for the Internet of Things (IoT) industry. Born in 2006, till now, RT-Thread has powered 1 billion devices, applied in Wearable Devices, Smart Home Appliances, Energy, Automotive Electronics, Medical Electronics, Consumer Electronics, and many other industries.

Kubernetes Explained Simply: Containers, Pods and Images

If you zone out every time someone mentions “Kubernetes,” “containers,” or “pods,” this article is for you. No complex diagrams involved!

As a front-end developer, you don’t have to know how to configure an infrastructure from scratch. However, if you have a basic understanding of how it works, you can deploy and rollback your applications more independently while also being more informed during conversations about this topic.

Let’s start with web searching what Kubernetes is.

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management.

Wikipedia

OK, but what is a container?

Simply put, a container is like a virtual computer that you can create, use, destroy and reboot remotely.

Now imagine this computer is actually in a cloud, running alongside thousands of other virtual computers. And all of this runs in a real computer which is powerful as heck. Your computer is now a container in the cloud.

An illustrated cloud with five computers, each labeled “Container”.

But wait — how will you create and control this virtual computer? How will it communicate with other computers in the same cloud? And how will it communicate with the world? Sounds like you need a way to orchestrate all of this. Hence: our maestro, Kubernetes (or K8s for short)!

A cloud with five computers labeled “Container” and a maestro below it labeled “K8s”

You may have also heard the term pods. What are those, and where do they fit here? Well, simply put, pods are groups of one or more containers. They are the smallest deployable unit in K8s, like an atom.

Imagine you’re building a WordPress website and you need a computer running PHP and a MySQL database. Running both in the same computer might be too heavy; so you could instead create one container for PHP, one for MySQL, and K8s will help make them communicate.

Then, you’d group these two containers in a pod, which represents the entire application. That means you can now start and kill an entire application through pods.

Cloud with circle inside it labeled “Pod” and two computers inside it each labeled “PHP” and “MySQL”

You would likely not create just one pod alone to deploy an app in production, though — there‘s more that we don’t need to cover right now, but you can read more about pods in the K8s documentation.

Now’s a good time to ask: what happens when you deploy an app in this setup?

K8s creates a new pod, redirects the traffic to it, and when it‘s sure everything‘s working, it kills the old pod. Again, more entities are involved to control and redirect requests, but we’re leaving that out today.

However, sometimes the deploy breaks something and we have to rollback our application to the previous version. Imagine everything’s on fire, and we have to start all of those computers from scratch — install Linux, Node, Git, clone the repository, install dependencies, build the app… that would take forever! If only there was a faster way, like taking a snapshot from the past to quickly restore everything to…

USB flash drive labeled “June 15 2:45pm”

Enter: images! You probably have heard this term a lot too. An image is like a backup of a container with everything already installed and configured. A new image is generated with your Continuous Integration (abbr>CI) every time you push to the main branch of your repository, and it‘s then replicated into new containers when they’re created.

And what are they good for? Well, mainly two things: the first one is restoring to the previous image quickly, like our example above. But they‘re also useful when your website has a bunch of traffic and just one computer won’t be able to handle it.

When you have an image, you can create as many identical containers as you want and replicate that image across all of them, serving the exact same contents.

Four computers all equally labeled “Commit d406cht”

All done! We just covered the basics on how the infrastructure of an application works, and now hopefully you can extrapolate into whatever tools your project is using.


Many thanks to Eduardo Shiota for enabling me to explain this!


The post Kubernetes Explained Simply: Containers, Pods and Images appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Using HSL Colors In CSS

From my experience, most of the colors I see people using in CSS are hex and RGB. Recently, I’ve started seeing more usage of HSL colors, however, I still think that the full potential of HSL is overlooked. With the help of this article, I’d like to show you how HSL can truly help us work better with colors in CSS.

Introduction

Usually, we use hexadecimal color codes (hex colors) which are fine, but they have a couple of issues:

  • They are limiting;
  • They’re hard to understand from reading them.

By “limited”, I mean that it’s not easy to alter the color without opening a color wheel and picking a color yourself. Adding on that, it’s not easy to guess what color is from looking at the hex code.

Consider the following figure:

I picked a hex color for a sky blue, and a darker one. Notice that the hex colors are not related to each other. It’s hard to tell that they are both blue but with different shades.

In a real-life scenario, you might need to create a lighter or darker shade of a color to quickly test or validate something. With hex colors, this isn’t possible until you open the color picker.

Thankfully, HSL colors can help us in solving this specific problem, and it opens a lot of possibilities for us.

What Is HSL?

HSL stands for hue, saturation, and lightness. It’s based on the RGB color wheel. Each color has an angle and a percentage value for the saturation and lightness values.

Let’s take an example of the sky blue color that we discussed previously. First, we pick the color like we usually do from a color picker, and we make sure to get the HSL value for it.

Note: I’m using Sketch app, but you use whatever design tool you want.

Consider the following figure:

Notice that the HSL values in there. The first one is the angle, which represents the angle of the color we have. In this case, it’s sky blue. Once we have the angle, we can start tweaking the saturation and brightness as per our needs.

Saturation

Saturation controls how saturated the color should be. 0% is completely unsaturated, while 100% is fully saturated.

Lightness

As for lightness, it controls how light or dark the color is. 0% is is black, and 100% is white.

Consider the following figure:

With that, we have three values that are representing color, angle, saturation, and brightness. Here is how we can use the color in CSS:

.element {
    background-color: hsl(196, 73%, 62%);
}

By modifying the color angle, we can get colors that are similar in saturation and lightness to the base one. This is very useful when working on new brand colors as it can create a consistent set of secondary brand colors.

Consider the following figure:

Do you feel that the three colors are related to each other in terms of how the color is saturated, and how it’s dark or light it is? That has been achieved by only changing the color angle. This is what great about HSL colors. It’s more human-friendly to read and edit than any other color type.

Use Cases For HSL Colors

Changing Colors On Hover

When a color in a specific component needs to appear darker on hover, HSL colors can be perfect for this. It can be helpful for components like buttons and cards.

:root {
  --primary-h: 221;
  --primary-s: 72%;
  --primary-l: 62%;
}

.button {
  background-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
}

.button:hover {
  --primary-l: 54%;
}

Notice how I combined CSS variables with HSL colors. On hover, I only need to alter the lightness value. Remember, the higher the value, the lighter. For a darker shade, we need to reduce the value.

A Combination Of Tinted Colors

HSL can be handy when we have a design that uses the same color but with different shades. Consider the following design:

The main header navigation has the primary color, while the secondary navigation has a lighter shade. With HSL, we can get the lighter shade easily by altering the lightness value.

This can be extremely useful while having a UI with multiple themes. I created two themes and switching from one to another only requires me to edit the hue degree.

First theme:

Second theme:

Color Palettes

By altering the lightness, we can create a set of shades for a color that can be used throughout the UI where possible.

This is useful for design systems where designers provide developers with the shades for each color of the brand.

Here is an interactive demo that shows that. The input slider only changes the hue value, and the rest of the shades change based on that.

Notice how the white on the right is too much. We can replace this with a custom white that is derived from a very light shade of the color we have. In my opinion, it’s much better.

Variations Of A Button

Another useful use case for HSL colors is when we have primary and secondary options that are from the same color but with different shades. In this example, the secondary button has a very light tint of the main color. HSL colors are perfect for that.

:root {
  --primary-h: 221;
  --primary-s: 72%;
  --primary-l: 62%;
}

.button {
  background-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
}

.button--secondary {
    --primary-l: 90%;
    color: #222;
}

.button--ghost {
    --primary-l: 90%;
    background-color: transparent;
    border: 3px solid hsl(var(--primary-h), var(--primary-s), var(--primary-l)); 
}

Tweaking the primary button variations where fast and can be extended more for broader usage. Changing the hue value will change all the buttons’ themes.

Dynamic Washed-Out Effects

In some cases, we might need a gradient to have a very light shade of the other color stop. With HSL, we can use the same color but with a different lightness value for the second one.

.section {
  background: linear-gradient(to left, hsl(var(--primary-h), var(--primary-s), var(--primary-l)), hsl(var(--primary-h), var(--primary-s), 95%));
}

.section-2 {
  --primary-h: 167;
}

The gradient starts from the right with a solid color and then fades out to the lighter shade. This can be used for a decorative hero section, for example.

That’s all with the use cases. I hope that you learned something new and useful.

Conclusion

HSL colors are very powerful when we use them the right way. They can save us time and effort and even help us to explore options for how to apply color to design.

How do I pause Amazon Prime on my smart TV?

Amazon Prime is testing a new feature that allows users to pause their membership for up to 10 months. If you resume your Amazon Prime subscription within this period, you will still have access to all of your profiles, ratings, recommendations, viewing history, my list and saved settings. If you return after 10 months you will have to start from scratch. Read the guide on Amazon Prime activate process.
The "Pause Membership" option is available under "Account" on the website. However, memberships are only paused at the end of your billing month - not immediately.
This means that the new "Pause Membership" feature from Amazon Prime behaves the same as the existing "Cancel Membership" option, as all of the above data is also retained for 10 months. Rather, this new test seems to be about Amazon Prime improving its news and making the process more convenient so that users can get back on board with a single click. It is possible for Amazon Prime to add more features to pause membership later.
In a statement on Gadgets 360, Amazon Prime said, We're always working on new ways to improve the Amazon Prime experience. We experiment with these types of tests in different countries for different time periods - and only make them generally available when people find them useful. "